@open-turo/eslint-config-typescript 2.1.0 → 2.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/index.js
CHANGED
|
@@ -8,6 +8,7 @@ module.exports = {
|
|
|
8
8
|
"@typescript-eslint",
|
|
9
9
|
"import",
|
|
10
10
|
"jest",
|
|
11
|
+
"json",
|
|
11
12
|
"node",
|
|
12
13
|
"prettier",
|
|
13
14
|
"simple-import-sort",
|
|
@@ -23,6 +24,7 @@ module.exports = {
|
|
|
23
24
|
"plugin:import/recommended",
|
|
24
25
|
"plugin:import/typescript",
|
|
25
26
|
"plugin:jest/recommended",
|
|
27
|
+
"plugin:json/recommended",
|
|
26
28
|
"plugin:node/recommended",
|
|
27
29
|
"plugin:prettier/recommended",
|
|
28
30
|
"plugin:sonarjs/recommended",
|
|
@@ -45,6 +47,7 @@ module.exports = {
|
|
|
45
47
|
],
|
|
46
48
|
"import/prefer-default-export": "off",
|
|
47
49
|
"jest/no-jest-import": "off",
|
|
50
|
+
"json/*": "error",
|
|
48
51
|
"node/no-unpublished-import": [
|
|
49
52
|
"error",
|
|
50
53
|
{
|
package/legacy.js
CHANGED
|
@@ -10,6 +10,7 @@ module.exports = {
|
|
|
10
10
|
"@typescript-eslint",
|
|
11
11
|
"import",
|
|
12
12
|
"jest",
|
|
13
|
+
"json",
|
|
13
14
|
"node",
|
|
14
15
|
"prettier",
|
|
15
16
|
"simple-import-sort",
|
|
@@ -25,6 +26,7 @@ module.exports = {
|
|
|
25
26
|
"plugin:import/recommended",
|
|
26
27
|
"plugin:import/typescript",
|
|
27
28
|
"plugin:jest/recommended",
|
|
29
|
+
"plugin:json/recommended",
|
|
28
30
|
"plugin:node/recommended",
|
|
29
31
|
"plugin:prettier/recommended",
|
|
30
32
|
"plugin:sonarjs/recommended",
|
|
@@ -59,6 +61,7 @@ module.exports = {
|
|
|
59
61
|
"import/export": "off",
|
|
60
62
|
"import/prefer-default-export": "off",
|
|
61
63
|
"jest/no-jest-import": "off",
|
|
64
|
+
"json/*": "error",
|
|
62
65
|
"node/no-unpublished-import": [
|
|
63
66
|
"error",
|
|
64
67
|
{
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"eslint-plugin-node": "^11.1.0",
|
|
16
16
|
"eslint-plugin-prettier": "^4.0.0",
|
|
17
17
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
18
|
-
"eslint-plugin-sonarjs": "^0.
|
|
18
|
+
"eslint-plugin-sonarjs": "^0.17.0",
|
|
19
19
|
"eslint-plugin-sort-destructure-keys": "^1.4.0",
|
|
20
20
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
21
21
|
"eslint-plugin-unicorn": "^45.0.0",
|
|
@@ -33,15 +33,16 @@
|
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
|
35
35
|
"@typescript-eslint/parser": "^5.20.0",
|
|
36
|
-
"eslint": "
|
|
36
|
+
"eslint": "^8.18.0",
|
|
37
37
|
"eslint-config-prettier": "^8.5.0",
|
|
38
38
|
"eslint-import-resolver-typescript": "^3.3.0",
|
|
39
39
|
"eslint-plugin-import": "^2.25.4",
|
|
40
40
|
"eslint-plugin-jest": "^27.0.1",
|
|
41
|
+
"eslint-plugin-json": "^3.1.0",
|
|
41
42
|
"eslint-plugin-node": "^11.1.0",
|
|
42
43
|
"eslint-plugin-prettier": "^4.0.0",
|
|
43
44
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
44
|
-
"eslint-plugin-sonarjs": "^0.
|
|
45
|
+
"eslint-plugin-sonarjs": "^0.17.0",
|
|
45
46
|
"eslint-plugin-sort-destructure-keys": "^1.4.0",
|
|
46
47
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
47
48
|
"prettier": "^2.5.1"
|
|
@@ -53,5 +54,5 @@
|
|
|
53
54
|
"access": "public"
|
|
54
55
|
},
|
|
55
56
|
"repository": "https://github.com/open-turo/eslint-config-typescript",
|
|
56
|
-
"version": "2.
|
|
57
|
+
"version": "2.2.0"
|
|
57
58
|
}
|
|
Binary file
|