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
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,20 @@
2
2
These are the ESLint rules I prefer. They're split into files to make it easy to use different sets of rules depending on what components the project has and what versions it expects.
3
3
4
4
## Versions
5
-
These rules are configured to be used with the following versions.
5
+
These rules are configured to be used with the following versions.
6
6
7
-
| Name | Version |Notes|
7
+
| Name | Version |Description|
8
8
|------|---------|-------------|
9
-
|[ESLint](https://eslint.org/)|[6.8.0](https://eslint.org/blog/2019/12/eslint-v6.8.0-released)| Includes rules and expects the **recommended** configuration from this version.<br/>**6.8.0** is the last version to support **Node.js 8 LTS**. |
10
-
|[Node.js](https://nodejs.org/)|[^8.9.0](https://nodejs.org/en/download/releases/)|**Node.js 8 LTS** started at version **8.9.0**. |
11
-
|[V8](https://v8.dev/)|[6.1](https://v8.dev/blog/v8-release-61) <br/> [6.2](https://v8.dev/blog/v8-release-62)|**Node.js 8 LTS** started with **V8 6.1** and updated to **V8 6.2** at version **8.10.0**. |
9
+
|[ESLint](https://eslint.org/)|[7.16.x](https://eslint.org/blog/2020/12/eslint-v7.16.0-released)| Includes rules and expects the **recommended** configuration from this version. |
10
+
|[Node.js](https://nodejs.org/)|[^14.15.0](https://nodejs.org/en/download/releases/)|**Node.js 14 LTS** started at version **14.15.0**. |
|[ECMAScript](https://www.ecma-international.org/publications/standards/Ecma-262.htm)|[11 (2020)](https://www.ecma-international.org/ecma-262/11.0/index.html#title)| ESLint supports the [nullish coalescing operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator) from [v7.2.0](https://eslint.org/blog/2020/06/eslint-v7.2.0-released) and the [optional chaining operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining) from [v7.5.0](https://eslint.org/blog/2020/07/eslint-v7.5.0-released). |
12
13
13
14
# Files
14
15
| File | Description |
15
16
|------|-------------|
16
17
|`.eslintrc.js`| The root file which includes other modular files. |
17
18
|`.eslintrc-base.js`| Includes all rules that don't relate to ES6+ language features. |
18
19
|`.eslintrc-es6plus.js`| Includes all rules that relate to ES6+ language features. |
20
+
| `.eslintrc-node.js` | Includes rules from [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) removed from ESLint core in [v7.0.0](https://eslint.org/blog/2020/05/eslint-v7.0.0-released).
19
21
|`test/.eslintrc.js`| Rules for test files, including Jest-specific rules. |
0 commit comments