@unix/eslint 1.0.0 → 1.0.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/configs/js.js CHANGED
@@ -10,6 +10,7 @@ const prettierPrintWidth = 85
10
10
  const ignores = [
11
11
  '**/node_modules/**',
12
12
  '**/.git/**',
13
+ '**/.github/**',
13
14
  '**/.hg/**',
14
15
  '**/.svn/**',
15
16
  '**/dist/**',
@@ -20,12 +21,13 @@ const ignores = [
20
21
  '**/.next/**',
21
22
  '**/.nuxt/**',
22
23
  '**/.astro/**',
24
+ '**/.wrangler/**',
23
25
  '**/.output/**',
24
- '**/.svelte-kit/**',
25
- '**/.turbo/**',
26
26
  '**/.vite/**',
27
+ '**/.idea/**',
27
28
  '**/storybook-static/**',
28
29
  '**/tmp/**',
30
+ '**/.tmp/**',
29
31
  '**/temp/**',
30
32
  ]
31
33
 
@@ -112,7 +114,7 @@ export default [
112
114
  'max-classes-per-file': ['error', 3],
113
115
  'max-depth': ['error', 3],
114
116
  'max-nested-callbacks': ['error', 4],
115
- 'max-params': ['error', 4],
117
+ 'max-params': ['error', 5],
116
118
  'no-alert': 'error',
117
119
  'no-case-declarations': 'off',
118
120
  'no-console': 'off',
package/configs/ts.js CHANGED
@@ -146,7 +146,7 @@ export default tseslint.config(
146
146
  'error',
147
147
  {
148
148
  countVoidThis: false,
149
- max: 4,
149
+ max: 5,
150
150
  },
151
151
  ],
152
152
  '@typescript-eslint/no-array-delete': 'error',
@@ -165,7 +165,7 @@ export default tseslint.config(
165
165
  'no-shadow': 'off',
166
166
  '@typescript-eslint/no-shadow': 'error',
167
167
  '@typescript-eslint/no-this-alias': 'error',
168
- '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
168
+ '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off',
169
169
  '@typescript-eslint/no-unnecessary-condition': 'error',
170
170
  '@typescript-eslint/no-unnecessary-parameter-property-assignment': 'error',
171
171
  '@typescript-eslint/no-unnecessary-template-expression': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unix/eslint",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "ESLint config for all @unix projects.",
5
5
  "type": "module",
6
6
  "main": "index.js",