@hyeon/linter 7.0.43 → 7.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyeon/linter",
3
- "version": "7.0.43",
3
+ "version": "7.0.45",
4
4
  "description": "Hansanghyun custom eslint settings",
5
5
  "main": "./src/index.mjs",
6
6
  "scripts": {
package/src/base.mjs CHANGED
@@ -2,7 +2,4 @@ import js from '@eslint/js';
2
2
 
3
3
  export default [
4
4
  js.configs.recommended,
5
- {
6
- ignores: ['node_modules/', 'dist/'],
7
- }
8
5
  ];
@@ -53,6 +53,8 @@ const custom = {
53
53
  ignoreEOLComments: true,
54
54
  },
55
55
  ],
56
+ // 보일러플레이트 코드를 생성할때 {} 를 사용하는 경우가 많아서 off
57
+ '@typescript-eslint/no-empty-object-type': 'off',
56
58
  '@typescript-eslint/no-explicit-any': 'off',
57
59
  '@typescript-eslint/no-unused-vars': [
58
60
  'error',
@@ -68,6 +70,7 @@ const custom = {
68
70
  },
69
71
  ],
70
72
  'react/display-name': 'off',
73
+ 'no-confusing-arrow': 'off'
71
74
  },
72
75
  ignores: [".config/*", "eslint.config.mjs", "eslint.config.js"]
73
76
  }
package/src/prettier.mjs CHANGED
@@ -11,7 +11,7 @@ export default [
11
11
  singleQuote: true,
12
12
  semi: false,
13
13
  tabWidth: 2,
14
- printWidth: 160,
14
+ printWidth: 120,
15
15
  arrowParens: "always",
16
16
  jsxSingleQuote: false,
17
17
  }],