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.
32
23
This preset config:
@@ -36,16 +27,40 @@ This preset config:
36
27
37
28
**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.
| | | [no-unpublished-import](docs/rules/no-unpublished-import.md) | Disallow `import` declarations for files that npm ignores.
63
+
| | | [no-unpublished-import](docs/rules/no-unpublished-import.md) | Disallow `import` declarations for files that npm ignores.:warning:
49
64
| :star: | | [no-unpublished-require](docs/rules/no-unpublished-require.md) | Disallow `require()`s for files that npm ignores.
50
65
| :star: | | [no-unsupported-features](docs/rules/no-unsupported-features.md) | Disallow unsupported ECMAScript features on the specified version.
51
66
| | | [process-exit-as-throw](docs/rules/process-exit-as-throw.md) | Make the same code path as throw at `process.exit()`.
@@ -54,7 +69,12 @@ This preset config:
54
69
-:star: - the mark of a recommended rule.
55
70
-:pencil: - the mark of a fixable rule.
56
71
57
-
## Semantic Versioning Policy
72
+
## :couple: FAQ
73
+
74
+
- Q: The `no-missing-import` / `no-missing-require` rules don't work with nested folders in SublimeLinter-eslint
75
+
- A: See [context.getFilename() in rule returns relative path](https://github.com/roadhump/SublimeLinter-eslint#contextgetfilename-in-rule-returns-relative-path) in the SublimeLinter-eslint FAQ.
76
+
77
+
## :anchor: Semantic Versioning Policy
58
78
59
79
`eslint-plugin-node` follows [semantic versioning](http://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).
Q: The `no-missing-import` / `no-missing-require` rules don't work with nested folders in SublimeLinter-eslint
108
+
### Development Tools
81
109
82
-
A: See [context.getFilename() in rule returns relative path](https://github.com/roadhump/SublimeLinter-eslint#contextgetfilename-in-rule-returns-relative-path) in the SublimeLinter-eslint FAQ.
110
+
-`npm test` runs tests and measures coverage.
111
+
-`npm run coverage` shows the coverage result of `npm test` command.
112
+
-`npm run clean` removes the coverage result of `npm test` command.
0 commit comments