Skip to content

Commit 1fa99c4

Browse files
committed
feat: capitalize default pattern of rule
1 parent 7b93c7a commit 1fa99c4

31 files changed

+46
-45
lines changed

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = [
2525
'@eslint-community/eslint-comments/no-unused-disable': 'error',
2626
'@eslint-community/eslint-comments/require-description': 'error',
2727

28+
'unicorn/expiring-todo-comments': 'off',
2829
'unicorn/consistent-function-scoping': 'off',
2930
'unicorn/no-array-callback-reference': 'off',
3031
'unicorn/no-array-for-each': 'off',

lib/rules/consistent-output.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
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.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
meta: {
2222
type: 'problem',
2323
docs: {
24-
description: 'require fixer functions to return a fix',
24+
description: 'Require fixer functions to return a fix',
2525
category: 'Rules',
2626
recommended: true,
2727
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/fixer-return.md',

lib/rules/meta-property-ordering.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
meta: {
1616
type: 'suggestion',
1717
docs: {
18-
description: 'enforce the order of meta properties',
18+
description: 'Enforce the order of meta properties',
1919
category: 'Rules',
2020
recommended: false,
2121
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/meta-property-ordering.md',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = {
4040
type: 'suggestion',
4141
docs: {
4242
description:
43-
'disallow usage of deprecated methods on rule context objects',
43+
'Disallow usage of deprecated methods on rule context objects',
4444
category: 'Rules',
4545
recommended: true,
4646
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.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
type: 'suggestion',
1818
docs: {
1919
description:
20-
'disallow the version of `context.report()` with multiple arguments',
20+
'Disallow the version of `context.report()` with multiple arguments',
2121
category: 'Rules',
2222
recommended: true,
2323
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-deprecated-report-api.md',

lib/rules/no-identical-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
meta: {
1717
type: 'problem',
1818
docs: {
19-
description: 'disallow identical tests',
19+
description: 'Disallow identical tests',
2020
category: 'Tests',
2121
recommended: true,
2222
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-identical-tests.md',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
type: 'problem',
1313
docs: {
1414
description:
15-
'disallow `messageId`s that are missing from `meta.messages`',
15+
'Disallow `messageId`s that are missing from `meta.messages`',
1616
category: 'Rules',
1717
recommended: true,
1818
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-missing-message-ids.md',

lib/rules/no-missing-placeholders.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
meta: {
1818
type: 'problem',
1919
docs: {
20-
description: 'disallow missing placeholders in rule report messages',
20+
description: 'Disallow missing placeholders in rule report messages',
2121
category: 'Rules',
2222
recommended: true,
2323
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-missing-placeholders.md',

lib/rules/no-only-tests.js

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

0 commit comments

Comments
 (0)