@jarsec/eslint-config 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/index.js +22 -32
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @jarsec/eslint-config
|
|
2
2
|
|
|
3
|
+
## 4.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4c2b1f2: Correct bug where stylistic plugin was not bundled into the library tarball
|
|
8
|
+
|
|
9
|
+
## 4.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- a47f70d: Add @stylistic/eslint-plugin
|
|
14
|
+
|
|
3
15
|
## 4.0.0
|
|
4
16
|
|
|
5
17
|
### Major Changes
|
package/index.js
CHANGED
|
@@ -1,36 +1,26 @@
|
|
|
1
1
|
require('@rushstack/eslint-patch/modern-module-resolution')
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
parserOptions: {
|
|
27
|
-
project: './tsconfig.json'
|
|
28
|
-
},
|
|
29
|
-
plugins: ['import', 'perfectionist', '@typescript-eslint/eslint-plugin'],
|
|
30
|
-
settings: {
|
|
31
|
-
'import/resolver': {
|
|
32
|
-
node: true,
|
|
33
|
-
typescript: true
|
|
34
|
-
}
|
|
35
|
-
}
|
|
4
|
+
env: {
|
|
5
|
+
node: true,
|
|
6
|
+
},
|
|
7
|
+
extends: [
|
|
8
|
+
'eslint:recommended',
|
|
9
|
+
'plugin:@typescript-eslint/recommended',
|
|
10
|
+
'plugin:@typescript-eslint/stylistic',
|
|
11
|
+
'plugin:perfectionist/recommended-natural',
|
|
12
|
+
'plugin:@stylistic/disable-legacy',
|
|
13
|
+
'plugin:@stylistic/recommended-extends',
|
|
14
|
+
],
|
|
15
|
+
parser: '@typescript-eslint/parser',
|
|
16
|
+
parserOptions: {
|
|
17
|
+
project: './tsconfig.json',
|
|
18
|
+
},
|
|
19
|
+
plugins: ['import', 'perfectionist', '@typescript-eslint/eslint-plugin', '@stylistic'],
|
|
20
|
+
settings: {
|
|
21
|
+
'import/resolver': {
|
|
22
|
+
node: true,
|
|
23
|
+
typescript: true,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
36
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarsec/eslint-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "jsec's eslint configurations",
|
|
5
5
|
"author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@rushstack/eslint-patch": "^1.6.0",
|
|
13
|
+
"@stylistic/eslint-plugin": "^1.4.0",
|
|
13
14
|
"@types/node": "^20.9.3",
|
|
14
15
|
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
15
16
|
"@typescript-eslint/parser": "^6.12.0",
|