You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin provides `plugin:node/recommended` preset config.
23
-
This preset config:
24
-
25
-
- enables the environment of ES2015 (ES6) and Node.js.
26
-
- enables rules which are given :star: in the following table.
27
-
28
20
**Note:** It recommends a use of [the "engines" field of package.json](https://docs.npmjs.com/files/package.json#engines). The "engines" field is used by [no-unsupported-features](docs/rules/no-unsupported-features.md) rule.
This plugin provides `plugin:node/recommended` preset config.
67
+
This preset config:
68
+
69
+
- enables the environment of ES2015 (ES6) and Node.js.
70
+
- enables rules which are given :star: in the above table.
71
+
- enables [no-process-exit](http://eslint.org/docs/rules/no-process-exit) rule because [the official document](https://nodejs.org/api/process.html#process_process_exit_code) does not recommend a use of `process.exit()`.
72
+
- adds `{ecmaVersion: 8}` into `parserOptions`.
73
+
72
74
## :couple: FAQ
73
75
74
76
- Q: The `no-missing-import` / `no-missing-require` rules don't work with nested folders in SublimeLinter-eslint
@@ -79,18 +81,19 @@ This preset config:
79
81
`eslint-plugin-node` follows [semantic versioning](http://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).
80
82
81
83
- Patch release (intended to not break your lint build)
82
-
- A bug fix in a rule that results in `eslint-plugin-node` reporting fewer errors.
84
+
- A bug fix in a rule that results in it reporting fewer errors.
83
85
- Improvements to documentation.
84
86
- Non-user-facing changes such as refactoring code, adding, deleting, or modifying tests, and increasing test coverage.
85
87
- Re-releasing after a failed release (i.e., publishing a release that doesn't work for anyone).
86
88
- Minor release (might break your lint build)
87
-
- A bug fix in a rule that results in `eslint-plugin-node` reporting more errors.
89
+
- A bug fix in a rule that results in it reporting more errors.
88
90
- A new rule is created.
89
91
- A new option to an existing rule is created.
90
92
- An existing rule is deprecated.
91
93
- Major release (likely to break your lint build)
92
94
- A support for old Node version is dropped.
93
95
- A support for old ESLint version is dropped.
96
+
- An existing rule is changed in it reporting more errors.
0 commit comments