@jarsec/eslint-config 4.3.0 → 4.5.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 +16 -0
- package/index.js +11 -2
- package/javascript.js +24 -0
- package/package.json +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @jarsec/eslint-config
|
|
2
2
|
|
|
3
|
+
## 4.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 126a9e3: Add xo presets
|
|
8
|
+
|
|
9
|
+
## 4.4.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- d51b6db: Add JavaScript-specific eslint configuration
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 9772eee: Remove unused dependencies
|
|
18
|
+
|
|
3
19
|
## 4.3.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/index.js
CHANGED
|
@@ -2,19 +2,28 @@ require('@rushstack/eslint-patch/modern-module-resolution')
|
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
env: {
|
|
5
|
-
node: true
|
|
5
|
+
node: true
|
|
6
6
|
},
|
|
7
7
|
extends: [
|
|
8
8
|
'eslint:recommended',
|
|
9
9
|
'plugin:@typescript-eslint/recommended',
|
|
10
10
|
'plugin:@typescript-eslint/stylistic',
|
|
11
|
+
'plugin:unicorn/recommended',
|
|
12
|
+
'xo',
|
|
13
|
+
'xo-typescript/space',
|
|
11
14
|
'plugin:perfectionist/recommended-natural',
|
|
12
15
|
],
|
|
13
16
|
parser: '@typescript-eslint/parser',
|
|
14
17
|
parserOptions: {
|
|
15
18
|
project: './tsconfig.json',
|
|
16
19
|
},
|
|
17
|
-
plugins: [
|
|
20
|
+
plugins: [
|
|
21
|
+
'@typescript-eslint/eslint-plugin',
|
|
22
|
+
'import',
|
|
23
|
+
'perfectionist',
|
|
24
|
+
'promise',
|
|
25
|
+
'unicorn'
|
|
26
|
+
],
|
|
18
27
|
settings: {
|
|
19
28
|
'import/resolver': {
|
|
20
29
|
node: true,
|
package/javascript.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
require('@rushstack/eslint-patch/modern-module-resolution')
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
env: {
|
|
5
|
+
node: true
|
|
6
|
+
},
|
|
7
|
+
extends: [
|
|
8
|
+
'eslint:recommended',
|
|
9
|
+
'plugin:promise/recommended',
|
|
10
|
+
'plugin:unicorn/recommended',
|
|
11
|
+
'xo',
|
|
12
|
+
'plugin:perfectionist/recommended-natural',
|
|
13
|
+
],
|
|
14
|
+
plugins: [
|
|
15
|
+
'import',
|
|
16
|
+
'perfectionist',
|
|
17
|
+
'promise'
|
|
18
|
+
],
|
|
19
|
+
settings: {
|
|
20
|
+
'import/resolver': {
|
|
21
|
+
node: true,
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarsec/eslint-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "jsec's eslint configurations",
|
|
5
5
|
"author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -9,21 +9,23 @@
|
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@rushstack/eslint-patch": "^1.
|
|
13
|
-
"@types/node": "^20.10.
|
|
14
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
15
|
-
"@typescript-eslint/parser": "^
|
|
12
|
+
"@rushstack/eslint-patch": "^1.7.2",
|
|
13
|
+
"@types/node": "^20.10.8",
|
|
14
|
+
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
|
15
|
+
"@typescript-eslint/parser": "^7.0.2",
|
|
16
16
|
"eslint": "^8.56.0",
|
|
17
17
|
"eslint-config-prettier": "^9.1.0",
|
|
18
|
-
"eslint-config-
|
|
18
|
+
"eslint-config-xo": "^0.44.0",
|
|
19
|
+
"eslint-config-xo-typescript": "^3.0.0",
|
|
19
20
|
"eslint-plugin-import": "^2.29.1",
|
|
20
|
-
"eslint-plugin-n": "^16.
|
|
21
|
+
"eslint-plugin-n": "^16.6.2",
|
|
21
22
|
"eslint-plugin-perfectionist": "^2.5.0",
|
|
22
23
|
"eslint-plugin-promise": "^6.1.1",
|
|
24
|
+
"eslint-plugin-unicorn": "^51.0.1",
|
|
23
25
|
"typescript": "^5.3.3"
|
|
24
26
|
},
|
|
25
27
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^20.
|
|
28
|
+
"@types/node": "^20.11.16",
|
|
27
29
|
"eslint": "^8.56.0",
|
|
28
30
|
"typescript": "^5.3.3"
|
|
29
31
|
},
|