@hyeon/linter 7.0.26 → 7.0.28

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": "@hyeon/linter",
3
- "version": "7.0.26",
3
+ "version": "7.0.28",
4
4
  "description": "Hansanghyun custom eslint settings",
5
5
  "main": "./src/index.mjs",
6
6
  "scripts": {
@@ -16,7 +16,19 @@ const _import = [
16
16
  "error",
17
17
  {
18
18
  "groups": [
19
- // 그룹 설정을 비움
19
+ // 부수 효과가 있는 import.
20
+ ["^\\u0000"],
21
+ // `node:`로 시작하는 Node.js 기본 모듈.
22
+ ["^node:"],
23
+ // 패키지들.
24
+ // 문자(또는 숫자, 밑줄)로 시작하거나 `@` 뒤에 문자가 오는 항목.
25
+ ["^@?\\w"],
26
+ // 절대 경로 import 및 Vue 스타일의 `@/foo`와 같은 기타 import.
27
+ // 다른 그룹에서 매칭되지 않는 모든 항목.
28
+ ["^"],
29
+ // 상대 경로 import.
30
+ // 점(`.`)으로 시작하는 모든 항목.
31
+ ["^\\."],
20
32
  ],
21
33
  }
22
34
  ],
@@ -46,6 +58,19 @@ const custom = {
46
58
  ignoreEOLComments: true,
47
59
  },
48
60
  ],
61
+ '@typescript-eslint/no-unused-vars': [
62
+ 'error',
63
+ {
64
+ vars: 'all',
65
+ varsIgnorePattern: '^_.*$|^_$|^P$|^flow$',
66
+ args: 'all',
67
+ argsIgnorePattern: '^_.*$|^_$|^P$|^flow$',
68
+ caughtErrors: 'all',
69
+ caughtErrorsIgnorePattern: '^_.*$|^_$|^P$|^flow$',
70
+ destructuredArrayIgnorePattern: '^_.*$|^_$|^P$|^flow$',
71
+ ignoreRestSiblings: true,
72
+ },
73
+ ],
49
74
  }
50
75
  }
51
76