@simplysm/eslint-plugin 10.0.39 → 10.0.45
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/package.json +6 -6
- package/src/configs/root.cjs +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/eslint-plugin",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.45",
|
|
4
4
|
"description": "심플리즘 패키지 - ESLINT 플러그인",
|
|
5
5
|
"author": "김석래",
|
|
6
6
|
"repository": {
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"node": "^18"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
18
|
+
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
19
19
|
"@typescript-eslint/experimental-utils": "^5.62.0",
|
|
20
|
-
"@typescript-eslint/parser": "^6.
|
|
21
|
-
"eslint": "^8.
|
|
22
|
-
"eslint-import-resolver-typescript": "^3.
|
|
20
|
+
"@typescript-eslint/parser": "^6.6.0",
|
|
21
|
+
"eslint": "^8.48.0",
|
|
22
|
+
"eslint-import-resolver-typescript": "^3.6.0",
|
|
23
23
|
"eslint-module-utils": "^2.8.0",
|
|
24
24
|
"eslint-plugin-deprecation": "^1.5.0",
|
|
25
|
-
"eslint-plugin-import": "^2.28.
|
|
25
|
+
"eslint-plugin-import": "^2.28.1",
|
|
26
26
|
"typescript": "^4.9.5"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/configs/root.cjs
CHANGED
|
@@ -19,7 +19,7 @@ module.exports = {
|
|
|
19
19
|
plugins: ["import"],
|
|
20
20
|
rules: {
|
|
21
21
|
// import
|
|
22
|
-
|
|
22
|
+
"import/no-extraneous-dependencies": ["error"], // 느림
|
|
23
23
|
|
|
24
24
|
"no-console": ["warn"],
|
|
25
25
|
"no-warning-comments": ["warn"],
|
|
@@ -38,7 +38,10 @@ module.exports = {
|
|
|
38
38
|
files: ["*.ts", "*.tsx"],
|
|
39
39
|
parser: "@typescript-eslint/parser",
|
|
40
40
|
parserOptions: {
|
|
41
|
-
project:
|
|
41
|
+
project: [
|
|
42
|
+
"tsconfig.json",
|
|
43
|
+
"packages/*/tsconfig.json"
|
|
44
|
+
]
|
|
42
45
|
},
|
|
43
46
|
plugins: [
|
|
44
47
|
"@typescript-eslint",
|
|
@@ -66,7 +69,7 @@ module.exports = {
|
|
|
66
69
|
// "deprecation/deprecation": ["warn"], // 느림
|
|
67
70
|
|
|
68
71
|
// import
|
|
69
|
-
|
|
72
|
+
"import/no-extraneous-dependencies": ["error"], // 느림
|
|
70
73
|
// "import/no-duplicates": ["error"], // 느림
|
|
71
74
|
|
|
72
75
|
// 심플리즘
|
|
@@ -102,7 +105,7 @@ module.exports = {
|
|
|
102
105
|
allowArgumentsExplicitlyTypedAsAny: true,
|
|
103
106
|
}],
|
|
104
107
|
"@typescript-eslint/no-unused-expressions": ["error"],
|
|
105
|
-
"@typescript-eslint/no-unused-vars": ["error", {
|
|
108
|
+
"@typescript-eslint/no-unused-vars": ["error", {args: "none"}],
|
|
106
109
|
"@typescript-eslint/strict-boolean-expressions": ["error", {
|
|
107
110
|
allowString: true,
|
|
108
111
|
allowNumber: true,
|