@simplysm/eslint-plugin 12.9.42 → 12.10.2
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 +2 -2
- package/src/configs/root.js +15 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/eslint-plugin",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.10.2",
|
|
4
4
|
"description": "심플리즘 패키지 - ESLINT 플러그인",
|
|
5
5
|
"author": "김석래",
|
|
6
6
|
"repository": {
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@typescript-eslint/rule-tester": "^8.32.1",
|
|
27
|
-
"vitest": "^3.1.
|
|
27
|
+
"vitest": "^3.1.4"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/src/configs/root.js
CHANGED
|
@@ -27,7 +27,7 @@ export default [
|
|
|
27
27
|
// 기본
|
|
28
28
|
"no-console": ["warn"],
|
|
29
29
|
"no-warning-comments": ["warn"],
|
|
30
|
-
"no-restricted-syntax": [
|
|
30
|
+
/*"no-restricted-syntax": [
|
|
31
31
|
"error",
|
|
32
32
|
{
|
|
33
33
|
selector: "PropertyDefinition[key.type='PrivateIdentifier']",
|
|
@@ -37,7 +37,7 @@ export default [
|
|
|
37
37
|
selector: "MethodDefinition[key.type='PrivateIdentifier']",
|
|
38
38
|
message: "Do not use ECMAScript private methods (e.g. #myMethod); use TypeScript \"private\" instead.",
|
|
39
39
|
},
|
|
40
|
-
]
|
|
40
|
+
],*/
|
|
41
41
|
"eqeqeq": ["error", "always", { "null": "ignore" }],
|
|
42
42
|
|
|
43
43
|
"require-await": ["error"],
|
|
@@ -80,7 +80,7 @@ export default [
|
|
|
80
80
|
// 기본
|
|
81
81
|
"no-console": ["warn"],
|
|
82
82
|
"no-warning-comments": ["warn"],
|
|
83
|
-
"no-restricted-syntax": [
|
|
83
|
+
/*"no-restricted-syntax": [
|
|
84
84
|
"error",
|
|
85
85
|
{
|
|
86
86
|
selector: "PropertyDefinition[key.type='PrivateIdentifier']",
|
|
@@ -90,7 +90,7 @@ export default [
|
|
|
90
90
|
selector: "MethodDefinition[key.type='PrivateIdentifier']",
|
|
91
91
|
message: "Do not use ECMAScript private methods (e.g. #myMethod); use TypeScript \"private\" instead.",
|
|
92
92
|
},
|
|
93
|
-
]
|
|
93
|
+
],*/
|
|
94
94
|
"eqeqeq": ["error", "always", { "null": "ignore" }],
|
|
95
95
|
|
|
96
96
|
// 타입스크립트
|
|
@@ -132,7 +132,7 @@ export default [
|
|
|
132
132
|
// "ignoreTernaryTests": true,
|
|
133
133
|
},
|
|
134
134
|
],*/
|
|
135
|
-
"@typescript-eslint/naming-convention": [
|
|
135
|
+
/*"@typescript-eslint/naming-convention": [
|
|
136
136
|
"error",
|
|
137
137
|
// (1) private 대문자 필드 → 예외 허용
|
|
138
138
|
{
|
|
@@ -182,22 +182,22 @@ export default [
|
|
|
182
182
|
"format": ["camelCase"],
|
|
183
183
|
"leadingUnderscore": "require",
|
|
184
184
|
},
|
|
185
|
-
]
|
|
185
|
+
],*/
|
|
186
186
|
|
|
187
187
|
//-- 심플리즘
|
|
188
188
|
"@simplysm/ts-no-throw-not-implement-error": ["warn"],
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
// -- 아래 적용 검토가 필요한것
|
|
192
|
-
"import/no-extraneous-dependencies": [
|
|
192
|
+
/*"import/no-extraneous-dependencies": [
|
|
193
193
|
"error",
|
|
194
194
|
{
|
|
195
195
|
"devDependencies": [
|
|
196
|
-
"
|
|
197
|
-
"
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"
|
|
196
|
+
"**!/!*.spec.ts",
|
|
197
|
+
"**!/lib/!**",
|
|
198
|
+
"**!/eslint.config.js",
|
|
199
|
+
"**!/simplysm.js",
|
|
200
|
+
"**!/vitest.config.js",
|
|
201
201
|
],
|
|
202
202
|
},
|
|
203
203
|
],
|
|
@@ -228,11 +228,11 @@ export default [
|
|
|
228
228
|
{
|
|
229
229
|
paths: [
|
|
230
230
|
// library에서만
|
|
231
|
-
|
|
231
|
+
/!*{
|
|
232
232
|
name: '@angular/core',
|
|
233
233
|
importNames: ['model'],
|
|
234
234
|
message: '"model"은 사용할 수 없습니다. input/output/$model을 사용하세요.',
|
|
235
|
-
}
|
|
235
|
+
},*!/
|
|
236
236
|
// sd-cli fix로 변환되는 항목임
|
|
237
237
|
...[
|
|
238
238
|
"signal",
|
|
@@ -248,7 +248,7 @@ export default [
|
|
|
248
248
|
})),
|
|
249
249
|
],
|
|
250
250
|
},
|
|
251
|
-
]
|
|
251
|
+
],*/
|
|
252
252
|
},
|
|
253
253
|
},
|
|
254
254
|
{
|