Skip to content

Commit e0c8042

Browse files
committed
📝 update README.md
1 parent 4a348e7 commit e0c8042

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,16 @@ $ npm install --save-dev eslint eslint-plugin-node
6868

6969
| Rule ID | Description | |
7070
|:--------|:------------|:--:|
71+
| [node/handle-callback-err](./docs/rules/handle-callback-err.md) | require error handling in callbacks | |
7172
| [node/no-callback-literal](./docs/rules/no-callback-literal.md) | ensure Node.js-style error-first callback pattern is followed | |
7273
| [node/no-exports-assign](./docs/rules/no-exports-assign.md) | disallow the assignment to `exports` | ⭐️ |
7374
| [node/no-extraneous-import](./docs/rules/no-extraneous-import.md) | disallow `import` declarations which import extraneous modules | ⭐️ |
7475
| [node/no-extraneous-require](./docs/rules/no-extraneous-require.md) | disallow `require()` expressions which import extraneous modules | ⭐️ |
7576
| [node/no-missing-import](./docs/rules/no-missing-import.md) | disallow `import` declarations which import non-existence modules | ⭐️ |
7677
| [node/no-missing-require](./docs/rules/no-missing-require.md) | disallow `require()` expressions which import non-existence modules | ⭐️ |
78+
| [node/no-new-require](./docs/rules/no-new-require.md) | disallow `new` operators with calls to `require` | |
79+
| [node/no-path-concat](./docs/rules/no-path-concat.md) | disallow string concatenation with `__dirname` and `__filename` | |
80+
| [node/no-process-exit](./docs/rules/no-process-exit.md) | disallow the use of `process.exit()` | |
7781
| [node/no-unpublished-bin](./docs/rules/no-unpublished-bin.md) | disallow `bin` files that npm ignores | ⭐️ |
7882
| [node/no-unpublished-import](./docs/rules/no-unpublished-import.md) | disallow `import` declarations which import private modules | ⭐️ |
7983
| [node/no-unpublished-require](./docs/rules/no-unpublished-require.md) | disallow `require()` expressions which import private modules | ⭐️ |
@@ -93,8 +97,15 @@ $ npm install --save-dev eslint eslint-plugin-node
9397

9498
| Rule ID | Description | |
9599
|:--------|:------------|:--:|
100+
| [node/callback-return](./docs/rules/callback-return.md) | require `return` statements after callbacks | |
96101
| [node/exports-style](./docs/rules/exports-style.md) | enforce either `module.exports` or `exports` | |
97102
| [node/file-extension-in-import](./docs/rules/file-extension-in-import.md) | enforce the style of file extensions in `import` declarations | ✒️ |
103+
| [node/global-require](./docs/rules/global-require.md) | require `require()` calls to be placed at top-level module scope | |
104+
| [node/no-mixed-requires](./docs/rules/no-mixed-requires.md) | disallow `require` calls to be mixed with regular variable declarations | |
105+
| [node/no-process-env](./docs/rules/no-process-env.md) | disallow the use of `process.env` | |
106+
| [node/no-restricted-import](./docs/rules/no-restricted-import.md) | disallow specified modules when loaded by `require` | |
107+
| [node/no-restricted-require](./docs/rules/no-restricted-require.md) | disallow specified modules when loaded by `require` | |
108+
| [node/no-sync](./docs/rules/no-sync.md) | disallow synchronous methods | |
98109
| [node/prefer-global/buffer](./docs/rules/prefer-global/buffer.md) | enforce either `Buffer` or `require("buffer").Buffer` | |
99110
| [node/prefer-global/console](./docs/rules/prefer-global/console.md) | enforce either `console` or `require("console")` | |
100111
| [node/prefer-global/process](./docs/rules/prefer-global/process.md) | enforce either `process` or `require("process")` | |

0 commit comments

Comments
 (0)