@simplysm/eslint-plugin 12.9.19 → 12.9.22

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplysm/eslint-plugin",
3
- "version": "12.9.19",
3
+ "version": "12.9.22",
4
4
  "description": "심플리즘 패키지 - ESLINT 플러그인",
5
5
  "author": "김석래",
6
6
  "repository": {
@@ -142,8 +142,8 @@ export default [
142
142
  "leadingUnderscore": "forbid",
143
143
  "filter": {
144
144
  "regex": "^[A-Z0-9_]+$",
145
- "match": true
146
- }
145
+ "match": true,
146
+ },
147
147
  },
148
148
 
149
149
  // (2) private 필드
@@ -151,7 +151,7 @@ export default [
151
151
  "selector": "classProperty",
152
152
  "modifiers": ["private"],
153
153
  "format": ["camelCase"],
154
- "leadingUnderscore": "require"
154
+ "leadingUnderscore": "require",
155
155
  },
156
156
  // private 메서드
157
157
  {
@@ -165,7 +165,7 @@ export default [
165
165
  "selector": "classProperty",
166
166
  "modifiers": ["protected", "readonly"],
167
167
  "format": null,
168
- "leadingUnderscore": "allow" // 언더스코어도 허용
168
+ "leadingUnderscore": "allow", // 언더스코어도 허용
169
169
  },
170
170
 
171
171
  // (2) protected 필드
@@ -173,7 +173,7 @@ export default [
173
173
  "selector": "classProperty",
174
174
  "modifiers": ["protected"],
175
175
  "format": ["camelCase"],
176
- "leadingUnderscore": "require"
176
+ "leadingUnderscore": "require",
177
177
  },
178
178
  // protected 메서드
179
179
  {
@@ -188,9 +188,7 @@ export default [
188
188
  "@simplysm/ts-no-throw-not-implement-error": ["warn"],
189
189
 
190
190
 
191
- // -- 아래 룰들은 매우 느림
192
- // 라이브러리 작성시, 그때그때 필요할 때만 사용
193
-
191
+ // -- 아래 룰들은 매우 느리거나, 라이브러리에서만 필요한것
194
192
  // "import/no-extraneous-dependencies": [
195
193
  // "error",
196
194
  // {
@@ -218,6 +216,18 @@ export default [
218
216
  // },
219
217
  // ],
220
218
  // "@simplysm/ts-no-buffer-in-typedarray-context": ["error"],
219
+ // '@typescript-eslint/no-restricted-imports': [
220
+ // 'error',
221
+ // {
222
+ // paths: [
223
+ // {
224
+ // name: '@angular/core',
225
+ // importNames: ['model'],
226
+ // message: '`model`은 사용할 수 없습니다. input/output/$model을 사용하세요.',
227
+ // },
228
+ // ],
229
+ // },
230
+ // ],
221
231
  },
222
232
  },
223
233
  {