diff --git a/.eslint-doc-generatorrc.js b/.eslint-doc-generatorrc.js index 16e43b09..97a8a707 100644 --- a/.eslint-doc-generatorrc.js +++ b/.eslint-doc-generatorrc.js @@ -3,9 +3,10 @@ const config = { urlConfigs: "https://github.com/eslint-community/eslint-plugin-n#-configs", configEmoji: [ ["recommended-script", "βœ…"], - ["recommended-module", "βœ…"], - ["flat/recommended-script", "βœ…"], - ["flat/recommended-module", "βœ…"], + ["recommended-module", "🟒"], + ["recommended", "β˜‘οΈ"], + // ["flat/recommended-script", "βœ…"], + // ["flat/recommended-module", "βœ…"], ], } diff --git a/README.md b/README.md index c14a84f0..309dd43a 100644 --- a/README.md +++ b/README.md @@ -89,55 +89,53 @@ For [Shareable Configs](https://eslint.org/docs/latest/developer-guide/shareable πŸ’Ό [Configurations](https://github.com/eslint-community/eslint-plugin-n#-configs) enabled in.\ -βœ… Set in the `flat/recommended-module` [configuration](https://github.com/eslint-community/eslint-plugin-n#-configs).\ -βœ… Set in the `flat/recommended-script` [configuration](https://github.com/eslint-community/eslint-plugin-n#-configs).\ -βœ… Set in the `recommended` [configuration](https://github.com/eslint-community/eslint-plugin-n#-configs).\ -βœ… Set in the `recommended-module` [configuration](https://github.com/eslint-community/eslint-plugin-n#-configs).\ +β˜‘οΈ Set in the `recommended` [configuration](https://github.com/eslint-community/eslint-plugin-n#-configs).\ +🟒 Set in the `recommended-module` [configuration](https://github.com/eslint-community/eslint-plugin-n#-configs).\ βœ… Set in the `recommended-script` [configuration](https://github.com/eslint-community/eslint-plugin-n#-configs).\ πŸ”§ Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\ ❌ Deprecated. -| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β  | Description | πŸ’Ό | πŸ”§ | ❌ | -| :------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------- | :-------- | :- | :- | -| [callback-return](docs/rules/callback-return.md) | require `return` statements after callbacks | | | | -| [exports-style](docs/rules/exports-style.md) | enforce either `module.exports` or `exports` | | πŸ”§ | | -| [file-extension-in-import](docs/rules/file-extension-in-import.md) | enforce the style of file extensions in `import` declarations | | πŸ”§ | | -| [global-require](docs/rules/global-require.md) | require `require()` calls to be placed at top-level module scope | | | | -| [handle-callback-err](docs/rules/handle-callback-err.md) | require error handling in callbacks | | | | -| [no-callback-literal](docs/rules/no-callback-literal.md) | enforce Node.js-style error-first callback pattern is followed | | | | -| [no-deprecated-api](docs/rules/no-deprecated-api.md) | disallow deprecated APIs | βœ… βœ… βœ… βœ… βœ… | | | -| [no-exports-assign](docs/rules/no-exports-assign.md) | disallow the assignment to `exports` | βœ… βœ… βœ… βœ… βœ… | | | -| [no-extraneous-import](docs/rules/no-extraneous-import.md) | disallow `import` declarations which import extraneous modules | βœ… βœ… βœ… βœ… βœ… | | | -| [no-extraneous-require](docs/rules/no-extraneous-require.md) | disallow `require()` expressions which import extraneous modules | βœ… βœ… βœ… βœ… βœ… | | | -| [no-hide-core-modules](docs/rules/no-hide-core-modules.md) | disallow third-party modules which are hiding core modules | | | ❌ | -| [no-missing-import](docs/rules/no-missing-import.md) | disallow `import` declarations which import non-existence modules | βœ… βœ… βœ… βœ… βœ… | | | -| [no-missing-require](docs/rules/no-missing-require.md) | disallow `require()` expressions which import non-existence modules | βœ… βœ… βœ… βœ… βœ… | | | -| [no-mixed-requires](docs/rules/no-mixed-requires.md) | disallow `require` calls to be mixed with regular variable declarations | | | | -| [no-new-require](docs/rules/no-new-require.md) | disallow `new` operators with calls to `require` | | | | -| [no-path-concat](docs/rules/no-path-concat.md) | disallow string concatenation with `__dirname` and `__filename` | | | | -| [no-process-env](docs/rules/no-process-env.md) | disallow the use of `process.env` | | | | -| [no-process-exit](docs/rules/no-process-exit.md) | disallow the use of `process.exit()` | βœ… βœ… βœ… βœ… βœ… | | | -| [no-restricted-import](docs/rules/no-restricted-import.md) | disallow specified modules when loaded by `import` declarations | | | | -| [no-restricted-require](docs/rules/no-restricted-require.md) | disallow specified modules when loaded by `require` | | | | -| [no-sync](docs/rules/no-sync.md) | disallow synchronous methods | | | | -| [no-unpublished-bin](docs/rules/no-unpublished-bin.md) | disallow `bin` files that npm ignores | βœ… βœ… βœ… βœ… βœ… | | | -| [no-unpublished-import](docs/rules/no-unpublished-import.md) | disallow `import` declarations which import private modules | βœ… βœ… βœ… βœ… βœ… | | | -| [no-unpublished-require](docs/rules/no-unpublished-require.md) | disallow `require()` expressions which import private modules | βœ… βœ… βœ… βœ… βœ… | | | -| [no-unsupported-features](docs/rules/no-unsupported-features.md) | disallow unsupported ECMAScript features on the specified version | | | ❌ | -| [no-unsupported-features/es-builtins](docs/rules/no-unsupported-features/es-builtins.md) | disallow unsupported ECMAScript built-ins on the specified version | βœ… βœ… βœ… βœ… βœ… | | | -| [no-unsupported-features/es-syntax](docs/rules/no-unsupported-features/es-syntax.md) | disallow unsupported ECMAScript syntax on the specified version | βœ… βœ… βœ… βœ… βœ… | | | -| [no-unsupported-features/node-builtins](docs/rules/no-unsupported-features/node-builtins.md) | disallow unsupported Node.js built-in APIs on the specified version | βœ… βœ… βœ… βœ… βœ… | | | -| [prefer-global/buffer](docs/rules/prefer-global/buffer.md) | enforce either `Buffer` or `require("buffer").Buffer` | | | | -| [prefer-global/console](docs/rules/prefer-global/console.md) | enforce either `console` or `require("console")` | | | | -| [prefer-global/process](docs/rules/prefer-global/process.md) | enforce either `process` or `require("process")` | | | | -| [prefer-global/text-decoder](docs/rules/prefer-global/text-decoder.md) | enforce either `TextDecoder` or `require("util").TextDecoder` | | | | -| [prefer-global/text-encoder](docs/rules/prefer-global/text-encoder.md) | enforce either `TextEncoder` or `require("util").TextEncoder` | | | | -| [prefer-global/url](docs/rules/prefer-global/url.md) | enforce either `URL` or `require("url").URL` | | | | -| [prefer-global/url-search-params](docs/rules/prefer-global/url-search-params.md) | enforce either `URLSearchParams` or `require("url").URLSearchParams` | | | | -| [prefer-promises/dns](docs/rules/prefer-promises/dns.md) | enforce `require("dns").promises` | | | | -| [prefer-promises/fs](docs/rules/prefer-promises/fs.md) | enforce `require("fs").promises` | | | | -| [process-exit-as-throw](docs/rules/process-exit-as-throw.md) | require that `process.exit()` expressions use the same code path as `throw` | βœ… βœ… βœ… βœ… βœ… | | | -| [shebang](docs/rules/shebang.md) | require correct usage of shebang | βœ… βœ… βœ… βœ… βœ… | πŸ”§ | | +| NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β  | Description | πŸ’Ό | πŸ”§ | ❌ | +| :------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------- | :---------------------------------------------------------------------------- | :- | :- | +| [callback-return](docs/rules/callback-return.md) | require `return` statements after callbacks | | | | +| [exports-style](docs/rules/exports-style.md) | enforce either `module.exports` or `exports` | | πŸ”§ | | +| [file-extension-in-import](docs/rules/file-extension-in-import.md) | enforce the style of file extensions in `import` declarations | | πŸ”§ | | +| [global-require](docs/rules/global-require.md) | require `require()` calls to be placed at top-level module scope | | | | +| [handle-callback-err](docs/rules/handle-callback-err.md) | require error handling in callbacks | | | | +| [no-callback-literal](docs/rules/no-callback-literal.md) | enforce Node.js-style error-first callback pattern is followed | | | | +| [no-deprecated-api](docs/rules/no-deprecated-api.md) | disallow deprecated APIs | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-exports-assign](docs/rules/no-exports-assign.md) | disallow the assignment to `exports` | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-extraneous-import](docs/rules/no-extraneous-import.md) | disallow `import` declarations which import extraneous modules | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-extraneous-require](docs/rules/no-extraneous-require.md) | disallow `require()` expressions which import extraneous modules | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-hide-core-modules](docs/rules/no-hide-core-modules.md) | disallow third-party modules which are hiding core modules | | | ❌ | +| [no-missing-import](docs/rules/no-missing-import.md) | disallow `import` declarations which import non-existence modules | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-missing-require](docs/rules/no-missing-require.md) | disallow `require()` expressions which import non-existence modules | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-mixed-requires](docs/rules/no-mixed-requires.md) | disallow `require` calls to be mixed with regular variable declarations | | | | +| [no-new-require](docs/rules/no-new-require.md) | disallow `new` operators with calls to `require` | | | | +| [no-path-concat](docs/rules/no-path-concat.md) | disallow string concatenation with `__dirname` and `__filename` | | | | +| [no-process-env](docs/rules/no-process-env.md) | disallow the use of `process.env` | | | | +| [no-process-exit](docs/rules/no-process-exit.md) | disallow the use of `process.exit()` | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-restricted-import](docs/rules/no-restricted-import.md) | disallow specified modules when loaded by `import` declarations | | | | +| [no-restricted-require](docs/rules/no-restricted-require.md) | disallow specified modules when loaded by `require` | | | | +| [no-sync](docs/rules/no-sync.md) | disallow synchronous methods | | | | +| [no-unpublished-bin](docs/rules/no-unpublished-bin.md) | disallow `bin` files that npm ignores | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-unpublished-import](docs/rules/no-unpublished-import.md) | disallow `import` declarations which import private modules | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-unpublished-require](docs/rules/no-unpublished-require.md) | disallow `require()` expressions which import private modules | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-unsupported-features](docs/rules/no-unsupported-features.md) | disallow unsupported ECMAScript features on the specified version | | | ❌ | +| [no-unsupported-features/es-builtins](docs/rules/no-unsupported-features/es-builtins.md) | disallow unsupported ECMAScript built-ins on the specified version | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-unsupported-features/es-syntax](docs/rules/no-unsupported-features/es-syntax.md) | disallow unsupported ECMAScript syntax on the specified version | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [no-unsupported-features/node-builtins](docs/rules/no-unsupported-features/node-builtins.md) | disallow unsupported Node.js built-in APIs on the specified version | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [prefer-global/buffer](docs/rules/prefer-global/buffer.md) | enforce either `Buffer` or `require("buffer").Buffer` | | | | +| [prefer-global/console](docs/rules/prefer-global/console.md) | enforce either `console` or `require("console")` | | | | +| [prefer-global/process](docs/rules/prefer-global/process.md) | enforce either `process` or `require("process")` | | | | +| [prefer-global/text-decoder](docs/rules/prefer-global/text-decoder.md) | enforce either `TextDecoder` or `require("util").TextDecoder` | | | | +| [prefer-global/text-encoder](docs/rules/prefer-global/text-encoder.md) | enforce either `TextEncoder` or `require("util").TextEncoder` | | | | +| [prefer-global/url](docs/rules/prefer-global/url.md) | enforce either `URL` or `require("url").URL` | | | | +| [prefer-global/url-search-params](docs/rules/prefer-global/url-search-params.md) | enforce either `URLSearchParams` or `require("url").URLSearchParams` | | | | +| [prefer-promises/dns](docs/rules/prefer-promises/dns.md) | enforce `require("dns").promises` | | | | +| [prefer-promises/fs](docs/rules/prefer-promises/fs.md) | enforce `require("fs").promises` | | | | +| [process-exit-as-throw](docs/rules/process-exit-as-throw.md) | require that `process.exit()` expressions use the same code path as `throw` | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | | | +| [shebang](docs/rules/shebang.md) | require correct usage of shebang | β˜‘οΈ 🟒 βœ… ![badge-flat/recommended-module][] ![badge-flat/recommended-script][] | πŸ”§ | | diff --git a/docs/rules/no-deprecated-api.md b/docs/rules/no-deprecated-api.md index 060c9245..7cc5168a 100644 --- a/docs/rules/no-deprecated-api.md +++ b/docs/rules/no-deprecated-api.md @@ -1,6 +1,6 @@ # Disallow deprecated APIs (`n/no-deprecated-api`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-exports-assign.md b/docs/rules/no-exports-assign.md index 7ba98832..754b4b26 100644 --- a/docs/rules/no-exports-assign.md +++ b/docs/rules/no-exports-assign.md @@ -1,6 +1,6 @@ # Disallow the assignment to `exports` (`n/no-exports-assign`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-extraneous-import.md b/docs/rules/no-extraneous-import.md index fb74620a..30ec52d5 100644 --- a/docs/rules/no-extraneous-import.md +++ b/docs/rules/no-extraneous-import.md @@ -1,6 +1,6 @@ # Disallow `import` declarations which import extraneous modules (`n/no-extraneous-import`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-extraneous-require.md b/docs/rules/no-extraneous-require.md index b20aafd1..771f9c0b 100644 --- a/docs/rules/no-extraneous-require.md +++ b/docs/rules/no-extraneous-require.md @@ -1,6 +1,6 @@ # Disallow `require()` expressions which import extraneous modules (`n/no-extraneous-require`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-missing-import.md b/docs/rules/no-missing-import.md index 6f8fe06b..56833251 100644 --- a/docs/rules/no-missing-import.md +++ b/docs/rules/no-missing-import.md @@ -1,6 +1,6 @@ # Disallow `import` declarations which import non-existence modules (`n/no-missing-import`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-missing-require.md b/docs/rules/no-missing-require.md index f70c5756..f4e56f5b 100644 --- a/docs/rules/no-missing-require.md +++ b/docs/rules/no-missing-require.md @@ -1,6 +1,6 @@ # Disallow `require()` expressions which import non-existence modules (`n/no-missing-require`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-process-exit.md b/docs/rules/no-process-exit.md index 37998e29..4b1ee02e 100644 --- a/docs/rules/no-process-exit.md +++ b/docs/rules/no-process-exit.md @@ -1,6 +1,6 @@ # Disallow the use of `process.exit()` (`n/no-process-exit`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-unpublished-bin.md b/docs/rules/no-unpublished-bin.md index e38c3b13..70569566 100644 --- a/docs/rules/no-unpublished-bin.md +++ b/docs/rules/no-unpublished-bin.md @@ -1,6 +1,6 @@ # Disallow `bin` files that npm ignores (`n/no-unpublished-bin`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-unpublished-import.md b/docs/rules/no-unpublished-import.md index fb75c802..db086fcc 100644 --- a/docs/rules/no-unpublished-import.md +++ b/docs/rules/no-unpublished-import.md @@ -1,6 +1,6 @@ # Disallow `import` declarations which import private modules (`n/no-unpublished-import`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-unpublished-require.md b/docs/rules/no-unpublished-require.md index 7214d607..482707bc 100644 --- a/docs/rules/no-unpublished-require.md +++ b/docs/rules/no-unpublished-require.md @@ -1,6 +1,6 @@ # Disallow `require()` expressions which import private modules (`n/no-unpublished-require`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-unsupported-features/es-builtins.md b/docs/rules/no-unsupported-features/es-builtins.md index 933f3a53..fa1500bd 100644 --- a/docs/rules/no-unsupported-features/es-builtins.md +++ b/docs/rules/no-unsupported-features/es-builtins.md @@ -1,6 +1,6 @@ # Disallow unsupported ECMAScript built-ins on the specified version (`n/no-unsupported-features/es-builtins`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-unsupported-features/es-syntax.md b/docs/rules/no-unsupported-features/es-syntax.md index b3cceb04..f87f65dc 100644 --- a/docs/rules/no-unsupported-features/es-syntax.md +++ b/docs/rules/no-unsupported-features/es-syntax.md @@ -1,6 +1,6 @@ # Disallow unsupported ECMAScript syntax on the specified version (`n/no-unsupported-features/es-syntax`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/no-unsupported-features/node-builtins.md b/docs/rules/no-unsupported-features/node-builtins.md index 6debd7cb..e043daa0 100644 --- a/docs/rules/no-unsupported-features/node-builtins.md +++ b/docs/rules/no-unsupported-features/node-builtins.md @@ -1,6 +1,6 @@ # Disallow unsupported Node.js built-in APIs on the specified version (`n/no-unsupported-features/node-builtins`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/process-exit-as-throw.md b/docs/rules/process-exit-as-throw.md index c2523b9f..862c93b9 100644 --- a/docs/rules/process-exit-as-throw.md +++ b/docs/rules/process-exit-as-throw.md @@ -1,6 +1,6 @@ # Require that `process.exit()` expressions use the same code path as `throw` (`n/process-exit-as-throw`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. diff --git a/docs/rules/shebang.md b/docs/rules/shebang.md index e33624ac..59abc1ce 100644 --- a/docs/rules/shebang.md +++ b/docs/rules/shebang.md @@ -1,6 +1,6 @@ # Require correct usage of shebang (`n/shebang`) -πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): βœ… `flat/recommended-module`, βœ… `flat/recommended-script`, βœ… `recommended`, βœ… `recommended-module`, βœ… `recommended-script`. +πŸ’Ό This rule is enabled in the following [configs](https://github.com/eslint-community/eslint-plugin-n#-configs): `flat/recommended-module`, `flat/recommended-script`, β˜‘οΈ `recommended`, 🟒 `recommended-module`, βœ… `recommended-script`. πŸ”§ This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).