@jarsec/eslint-config 3.0.0 → 3.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 +21 -0
- package/index.js +12 -16
- package/package.json +13 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @jarsec/eslint-config
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 966515f: Replace simple-import-sort with eslint-plugin-perfectionist
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 6c1d736: Add version ranges to typescript and eslint peer dependencies
|
|
12
|
+
- d68718e: fix(deps): update dependencies
|
|
13
|
+
|
|
14
|
+
## 3.1.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 8482cba: Revert standard-with-typescript configuration
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- f13defd: fix(deps): update dependencies
|
|
23
|
+
|
|
3
24
|
## 3.0.0
|
|
4
25
|
|
|
5
26
|
### Major Changes
|
package/index.js
CHANGED
|
@@ -9,18 +9,17 @@ const rules = {
|
|
|
9
9
|
"object-curly-spacing": "off",
|
|
10
10
|
"operator-linebreak": "off",
|
|
11
11
|
"no-mixed-spaces-and-tabs": "off",
|
|
12
|
-
"@typescript-eslint/comma-dangle": "off",
|
|
13
|
-
"@typescript-eslint/indent": "off",
|
|
14
|
-
"@typescript-eslint/quotes": "off",
|
|
15
|
-
"@typescript-eslint/semi": "off",
|
|
16
|
-
"@typescript-eslint/object-curly-spacing": "off",
|
|
17
|
-
"no-unused-vars": "off",
|
|
18
12
|
"no-warning-comments": "off",
|
|
19
|
-
"simple-import-sort/imports": "error",
|
|
20
|
-
"simple-import-sort/exports": "error",
|
|
21
13
|
"import/first": "error",
|
|
22
14
|
"import/newline-after-import": "error",
|
|
23
15
|
"import/no-duplicates": "error",
|
|
16
|
+
"perfectionist/sort-objects": [
|
|
17
|
+
"error",
|
|
18
|
+
{
|
|
19
|
+
type: "natural",
|
|
20
|
+
order: "asc"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
24
23
|
};
|
|
25
24
|
|
|
26
25
|
module.exports = {
|
|
@@ -34,16 +33,13 @@ module.exports = {
|
|
|
34
33
|
plugins: [
|
|
35
34
|
"@typescript-eslint/eslint-plugin",
|
|
36
35
|
"import",
|
|
37
|
-
"
|
|
36
|
+
"perfectionist",
|
|
37
|
+
"prettier",
|
|
38
38
|
],
|
|
39
39
|
extends: [
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"plugin
|
|
43
|
-
"standard-with-typescript",
|
|
44
|
-
"plugin:import/recommended",
|
|
45
|
-
"plugin:import/typescript",
|
|
46
|
-
"prettier",
|
|
40
|
+
"xo",
|
|
41
|
+
"xo-typescript",
|
|
42
|
+
"plugin:prettier/recommended",
|
|
47
43
|
],
|
|
48
44
|
settings: {
|
|
49
45
|
"import/resolver": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarsec/eslint-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "jsec's eslint configurations",
|
|
5
5
|
"author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -9,22 +9,24 @@
|
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@rushstack/eslint-patch": "1.
|
|
13
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
14
|
-
"@typescript-eslint/parser": "6.
|
|
12
|
+
"@rushstack/eslint-patch": "1.5.1",
|
|
13
|
+
"@typescript-eslint/eslint-plugin": "6.8.0",
|
|
14
|
+
"@typescript-eslint/parser": "6.8.0",
|
|
15
15
|
"eslint-config-prettier": "9.0.0",
|
|
16
|
-
"eslint-config-
|
|
17
|
-
"eslint-
|
|
16
|
+
"eslint-config-xo": "0.43.1",
|
|
17
|
+
"eslint-config-xo-typescript": "1.0.1",
|
|
18
|
+
"eslint-import-resolver-typescript": "3.6.1",
|
|
18
19
|
"eslint-plugin-import": "2.28.1",
|
|
19
|
-
"eslint-plugin-
|
|
20
|
+
"eslint-plugin-perfectionist": "2.2.0",
|
|
21
|
+
"eslint-plugin-prettier": "5.0.1"
|
|
20
22
|
},
|
|
21
23
|
"devDependencies": {
|
|
22
|
-
"@types/node": "20.
|
|
23
|
-
"eslint": "8.
|
|
24
|
+
"@types/node": "20.8.7",
|
|
25
|
+
"eslint": "8.51.0",
|
|
24
26
|
"typescript": "5.2.2"
|
|
25
27
|
},
|
|
26
28
|
"peerDependencies": {
|
|
27
|
-
"eslint": "8.
|
|
28
|
-
"typescript": "5.2.2"
|
|
29
|
+
"eslint": "^8.50.0",
|
|
30
|
+
"typescript": "^5.2.2"
|
|
29
31
|
}
|
|
30
32
|
}
|