@jupiterone/eslint-config
Advanced tools
Comparing version
@@ -1,1 +0,1 @@ | ||
module.exports = require('./node14'); | ||
module.exports = require('./node18'); |
{ | ||
"name": "@jupiterone/eslint-config", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -21,3 +21,3 @@ # @jupiterone/eslint-config | ||
**For Node.js apps:** | ||
**For Node.js apps targeting Node.js v18:** | ||
@@ -29,3 +29,3 @@ ```js | ||
"extends": [ | ||
"@jupiterone/eslint-config" | ||
"@jupiterone/eslint-config/node18" | ||
], | ||
@@ -39,2 +39,9 @@ "parserOptions": { | ||
**NOTE:** You can also target other versions of Node.js by extending one | ||
of the following configurations: | ||
- `@jupiterone/eslint-config/node14` (ECMA version 2020) | ||
- `@jupiterone/eslint-config/node16` (ECMA version 2021) | ||
- `@jupiterone/eslint-config/node18` (ECMA version 2022) | ||
**An experimental React configuration is also provided:** | ||
@@ -41,0 +48,0 @@ |
6337
6.86%13
8.33%117
5.41%67
11.67%