@szum-tech/eslint-config 2.1.0 → 2.1.1
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/README.md +1 -0
- package/dist/index.cjs +10 -0
- package/dist/index.js +10 -0
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -226,6 +226,7 @@ jobs:
|
|
|
226
226
|

|
|
227
227
|

|
|
228
228
|

|
|
229
|
+

|
|
229
230
|
|
|
230
231
|
## Changelog
|
|
231
232
|
|
package/dist/index.cjs
CHANGED
|
@@ -73,6 +73,8 @@ var config = [
|
|
|
73
73
|
import: importPlugin__default.default
|
|
74
74
|
},
|
|
75
75
|
languageOptions: {
|
|
76
|
+
ecmaVersion: "latest",
|
|
77
|
+
sourceType: "module",
|
|
76
78
|
globals: {
|
|
77
79
|
...globals__default.default.browser,
|
|
78
80
|
...globals__default.default.node
|
|
@@ -81,6 +83,14 @@ var config = [
|
|
|
81
83
|
warnOnUnsupportedTypeScriptVersion: false
|
|
82
84
|
}
|
|
83
85
|
},
|
|
86
|
+
settings: {
|
|
87
|
+
"import/resolver": {
|
|
88
|
+
// You will also need to install and configure the TypeScript resolver
|
|
89
|
+
// See also https://github.com/import-js/eslint-import-resolver-typescript#configuration
|
|
90
|
+
typescript: hasTypeScript,
|
|
91
|
+
node: true
|
|
92
|
+
}
|
|
93
|
+
},
|
|
84
94
|
rules: {
|
|
85
95
|
"no-unexpected-multiline": ERROR,
|
|
86
96
|
"no-warning-comments": [ERROR, { terms: ["FIXME"], location: "anywhere" }],
|
package/dist/index.js
CHANGED
|
@@ -55,6 +55,8 @@ var config = [
|
|
|
55
55
|
import: importPlugin
|
|
56
56
|
},
|
|
57
57
|
languageOptions: {
|
|
58
|
+
ecmaVersion: "latest",
|
|
59
|
+
sourceType: "module",
|
|
58
60
|
globals: {
|
|
59
61
|
...globals.browser,
|
|
60
62
|
...globals.node
|
|
@@ -63,6 +65,14 @@ var config = [
|
|
|
63
65
|
warnOnUnsupportedTypeScriptVersion: false
|
|
64
66
|
}
|
|
65
67
|
},
|
|
68
|
+
settings: {
|
|
69
|
+
"import/resolver": {
|
|
70
|
+
// You will also need to install and configure the TypeScript resolver
|
|
71
|
+
// See also https://github.com/import-js/eslint-import-resolver-typescript#configuration
|
|
72
|
+
typescript: hasTypeScript,
|
|
73
|
+
node: true
|
|
74
|
+
}
|
|
75
|
+
},
|
|
66
76
|
rules: {
|
|
67
77
|
"no-unexpected-multiline": ERROR,
|
|
68
78
|
"no-warning-comments": [ERROR, { terms: ["FIXME"], location: "anywhere" }],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@szum-tech/eslint-config",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "ESLint configuration for TypeScript projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -35,8 +35,9 @@
|
|
|
35
35
|
"prettier:write": "prettier --write ."
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@next/eslint-plugin-next": "^15.1.
|
|
39
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
38
|
+
"@next/eslint-plugin-next": "^15.1.3",
|
|
39
|
+
"@vitest/eslint-plugin": "^1.1.22",
|
|
40
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
40
41
|
"eslint-plugin-import": "^2.31.0",
|
|
41
42
|
"eslint-plugin-jest-dom": "^5.4.0",
|
|
42
43
|
"eslint-plugin-playwright": "^2.0.1",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
47
48
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
48
49
|
"globals": "^15.14.0",
|
|
49
|
-
"typescript-eslint": "^8.
|
|
50
|
+
"typescript-eslint": "^8.19.0"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
},
|
|
61
62
|
"peerDependencies": {
|
|
62
63
|
"eslint": "^9.17.0",
|
|
64
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
63
65
|
"eslint-plugin-import": "^2.31.0",
|
|
64
66
|
"eslint-plugin-jest-dom": "^5.4.0",
|
|
65
67
|
"eslint-plugin-playwright": "^2.0.1",
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
70
72
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
71
73
|
"globals": "^15.14.0",
|
|
72
|
-
"typescript-eslint": "^8.
|
|
74
|
+
"typescript-eslint": "^8.19.0"
|
|
73
75
|
},
|
|
74
76
|
"publishConfig": {
|
|
75
77
|
"access": "public"
|