Skip to content

Commit e794e42

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

36 files changed

+51
-56
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-identical-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const rule: Rule.RuleModule = {
1414
meta: {
1515
type: 'problem',
1616
docs: {
17-
description: 'disallow identical tests',
17+
description: 'Disallow identical tests',
1818
category: 'Tests',
1919
recommended: true,
2020
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-identical-tests.md',

lib/rules/no-meta-replaced-by.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const rule: Rule.RuleModule = {
1212
meta: {
1313
type: 'problem',
1414
docs: {
15-
description: 'disallow using the `meta.replacedBy` rule property',
15+
description: 'Disallow using the `meta.replacedBy` rule property',
1616
category: 'Rules',
1717
recommended: true,
1818
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-meta-replaced-by.md',

lib/rules/no-meta-schema-default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const rule: Rule.RuleModule = {
1616
type: 'suggestion',
1717
docs: {
1818
description:
19-
'disallow rules `meta.schema` properties to include defaults',
19+
'Disallow rules `meta.schema` properties to include defaults',
2020
category: 'Rules',
2121
recommended: true,
2222
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-meta-schema-default.md',

0 commit comments

Comments
 (0)