Skip to content

Commit

Permalink
Refactor generate-rules-table script (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jan 12, 2022
1 parent 57bd00e commit 3286381
Show file tree
Hide file tree
Showing 107 changed files with 284 additions and 247 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -39,7 +39,6 @@ jobs:
- run: npx c8 ava --update-snapshots
env:
AVA_FORCE_CI: not-ci
- run: npm run generate-rules-table
- run: npm run generate-usage-example
- run: git diff --exit-code
- uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/better-regex.md
@@ -1,6 +1,6 @@
# Improve regexes by making them shorter, consistent, and safer

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/catch-error-name.md
@@ -1,6 +1,6 @@
# Enforce a specific parameter name in catch clauses

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/consistent-destructuring.md
@@ -1,6 +1,6 @@
# Use destructured variables over properties

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/consistent-function-scoping.md
@@ -1,6 +1,6 @@
# Move function definitions to the highest possible scope

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/custom-error-definition.md
@@ -1,6 +1,6 @@
# Enforce correct `Error` subclassing

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
🔧 *This rule is [auto-fixable](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems).*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/empty-brace-spaces.md
@@ -1,6 +1,6 @@
# Enforce no spaces between braces

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/error-message.md
@@ -1,6 +1,6 @@
# Enforce passing a `message` value when creating a built-in error

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/escape-case.md
@@ -1,6 +1,6 @@
# Require escape sequences to use uppercase values

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/expiring-todo-comments.md
@@ -1,6 +1,6 @@
# Add expiration conditions to TODO comments

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/explicit-length-check.md
@@ -1,6 +1,6 @@
# Enforce explicitly comparing the `length` or `size` property of a value

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/filename-case.md
@@ -1,6 +1,6 @@
# Enforce a case style for filenames

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/import-index.md
@@ -1,6 +1,6 @@
# Enforce importing index files with `.`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
🔧 *This rule is [auto-fixable](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems).*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/import-style.md
@@ -1,6 +1,6 @@
# Enforce specific import styles per module

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/new-for-builtins.md
@@ -1,6 +1,6 @@
# Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-abusive-eslint-disable.md
@@ -1,6 +1,6 @@
# Enforce specifying rules to disable in `eslint-disable` comments

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-array-callback-reference.md
@@ -1,6 +1,6 @@
# Prevent passing a function reference directly to iterator methods

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-array-for-each.md
@@ -1,6 +1,6 @@
# Prefer `for…of` over `Array#forEach(…)`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-array-method-this-argument.md
@@ -1,6 +1,6 @@
# Disallow using the `this` argument in array methods

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-array-push-push.md
@@ -1,6 +1,6 @@
# Enforce combining multiple `Array#push()` into one call

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-array-reduce.md
@@ -1,6 +1,6 @@
# Disallow `Array#reduce()` and `Array#reduceRight()`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-await-expression-member.md
@@ -1,6 +1,6 @@
# Forbid member access from await expression

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-console-spaces.md
@@ -1,6 +1,6 @@
# Do not use leading/trailing space between `console.log` parameters

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-document-cookie.md
@@ -1,6 +1,6 @@
# Do not use `document.cookie` directly

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-empty-file.md
@@ -1,6 +1,6 @@
# Disallow empty files

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-for-loop.md
@@ -1,6 +1,6 @@
# Do not use a `for` loop that can be replaced with a `for-of` loop

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-hex-escape.md
@@ -1,6 +1,6 @@
# Enforce the use of Unicode escapes instead of hexadecimal escapes

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-instanceof-array.md
@@ -1,6 +1,6 @@
# Require `Array.isArray()` instead of `instanceof Array`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-invalid-remove-event-listener.md
@@ -1,6 +1,6 @@
# Prevent calling `EventTarget#removeEventListener()` with the result of an expression

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-keyword-prefix.md
@@ -1,6 +1,6 @@
# Disallow identifiers starting with `new` or `class`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
<!-- /RULE_NOTICE -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-lonely-if.md
@@ -1,6 +1,6 @@
# Disallow `if` statements as the only statement in `if` blocks without `else`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-nested-ternary.md
@@ -1,6 +1,6 @@
# Disallow nested ternary expressions

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-new-array.md
@@ -1,6 +1,6 @@
# Disallow `new Array()`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-new-buffer.md
@@ -1,6 +1,6 @@
# Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-null.md
@@ -1,6 +1,6 @@
# Disallow the use of the `null` literal

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-object-as-default-parameter.md
@@ -1,6 +1,6 @@
# Disallow the use of objects as default parameters

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-process-exit.md
@@ -1,6 +1,6 @@
# Disallow `process.exit()`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-static-only-class.md
@@ -1,6 +1,6 @@
# Forbid classes that only have static members

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-thenable.md
@@ -1,6 +1,6 @@
# Disallow `then` property

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-this-assignment.md
@@ -1,6 +1,6 @@
# Disallow assigning `this` to a variable

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
<!-- /RULE_NOTICE -->
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-unreadable-array-destructuring.md
@@ -1,6 +1,6 @@
# Disallow unreadable array destructuring

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-unsafe-regex.md
@@ -1,6 +1,6 @@
# Disallow unsafe regular expressions

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
<!-- /RULE_NOTICE -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-unused-properties.md
@@ -1,6 +1,6 @@
# Disallow unused object properties

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
<!-- /RULE_NOTICE -->

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-useless-fallback-in-spread.md
@@ -1,6 +1,6 @@
# Forbid useless fallback when spreading in object literals

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-useless-length-check.md
@@ -1,6 +1,6 @@
# Disallow useless array length check

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-useless-promise-resolve-reject.md
@@ -1,6 +1,6 @@
# Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-useless-spread.md
@@ -1,6 +1,6 @@
# Disallow unnecessary spread

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-useless-undefined.md
@@ -1,6 +1,6 @@
# Disallow useless `undefined`

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-zero-fractions.md
@@ -1,6 +1,6 @@
# Disallow number literals with zero fractions or dangling dots

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/number-literal-case.md
@@ -1,6 +1,6 @@
# Enforce proper case for numeric literals

<!-- Do not manually modify RULE_NOTICE part -->
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
<!-- RULE_NOTICE -->
*This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*

Expand Down

0 comments on commit 3286381

Please sign in to comment.