Skip to content

Commit d668e89

Browse files
committed
feat: capitalize default pattern of require-meta-docs-description rule
1 parent dd9df61 commit d668e89

30 files changed

+45
-50
lines changed

e2e/fixtures/all-typed-config/rule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const rule = {
44
meta: {
55
type: 'suggestion',
66
docs: {
7-
description: 'enforce a test',
7+
description: 'Enforce a test',
88
recommended: false,
99
url: 'https://test.org',
1010
},

e2e/fixtures/all/rule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const rule = {
44
meta: {
55
type: 'suggestion',
66
docs: {
7-
description: 'enforce a test',
7+
description: 'Enforce a test',
88
recommended: false,
99
url: 'https://test.org',
1010
},

lib/rules/consistent-output.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const rule: Rule.RuleModule = {
1717
type: 'suggestion',
1818
docs: {
1919
description:
20-
'enforce consistent use of `output` assertions in rule tests',
20+
'Enforce consistent use of `output` assertions in rule tests',
2121
category: 'Tests',
2222
recommended: false,
2323
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/consistent-output.md',

lib/rules/fixer-return.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const rule: Rule.RuleModule = {
3636
meta: {
3737
type: 'problem',
3838
docs: {
39-
description: 'require fixer functions to return a fix',
39+
description: 'Require fixer functions to return a fix',
4040
category: 'Rules',
4141
recommended: true,
4242
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/fixer-return.md',

lib/rules/meta-property-ordering.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const rule: Rule.RuleModule = {
2727
meta: {
2828
type: 'suggestion',
2929
docs: {
30-
description: 'enforce the order of meta properties',
30+
description: 'Enforce the order of meta properties',
3131
category: 'Rules',
3232
recommended: false,
3333
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/meta-property-ordering.md',

lib/rules/no-deprecated-context-methods.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const rule: Rule.RuleModule = {
3838
type: 'suggestion',
3939
docs: {
4040
description:
41-
'disallow usage of deprecated methods on rule context objects',
41+
'Disallow usage of deprecated methods on rule context objects',
4242
category: 'Rules',
4343
recommended: true,
4444
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-deprecated-context-methods.md',

lib/rules/no-deprecated-report-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const rule: Rule.RuleModule = {
1515
type: 'suggestion',
1616
docs: {
1717
description:
18-
'disallow the version of `context.report()` with multiple arguments',
18+
'Disallow the version of `context.report()` with multiple arguments',
1919
category: 'Rules',
2020
recommended: true,
2121
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-deprecated-report-api.md',

lib/rules/no-missing-message-ids.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const rule: Rule.RuleModule = {
1919
type: 'problem',
2020
docs: {
2121
description:
22-
'disallow `messageId`s that are missing from `meta.messages`',
22+
'Disallow `messageId`s that are missing from `meta.messages`',
2323
category: 'Rules',
2424
recommended: true,
2525
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-missing-message-ids.md',

lib/rules/no-missing-placeholders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const rule: Rule.RuleModule = {
2323
meta: {
2424
type: 'problem',
2525
docs: {
26-
description: 'disallow missing placeholders in rule report messages',
26+
description: 'Disallow missing placeholders in rule report messages',
2727
category: 'Rules',
2828
recommended: true,
2929
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-missing-placeholders.md',

lib/rules/no-only-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const rule: Rule.RuleModule = {
1111
meta: {
1212
type: 'problem',
1313
docs: {
14-
description: 'disallow the test case property `only`',
14+
description: 'Disallow the test case property `only`',
1515
category: 'Tests',
1616
recommended: true,
1717
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-only-tests.md',

0 commit comments

Comments
 (0)