@faergeek/eslint-config 7.0.1 → 7.0.3
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/index.js +21 -24
- package/package.json +3 -3
package/index.js
CHANGED
@@ -112,10 +112,7 @@ export const typescript = [
|
|
112
112
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
113
113
|
'@typescript-eslint/no-non-null-assertion': 'warn',
|
114
114
|
'@typescript-eslint/no-shadow': 'warn',
|
115
|
-
'@typescript-eslint/no-unused-vars':
|
116
|
-
'warn',
|
117
|
-
{ ignoreRestSiblings: true },
|
118
|
-
],
|
115
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
119
116
|
'no-shadow': 'off',
|
120
117
|
},
|
121
118
|
},
|
@@ -130,29 +127,29 @@ export const vitest = [
|
|
130
127
|
},
|
131
128
|
},
|
132
129
|
rules: {
|
133
|
-
'
|
130
|
+
'vitest/consistent-test-it': [
|
134
131
|
'warn',
|
135
132
|
{ fn: 'test', withinDescribe: 'it' },
|
136
133
|
],
|
137
|
-
'
|
138
|
-
'
|
139
|
-
'
|
140
|
-
'
|
141
|
-
'
|
142
|
-
'
|
143
|
-
'
|
144
|
-
'
|
145
|
-
'
|
146
|
-
'
|
147
|
-
'
|
148
|
-
'
|
149
|
-
'
|
150
|
-
'
|
151
|
-
'
|
152
|
-
'
|
153
|
-
'
|
154
|
-
'
|
155
|
-
'
|
134
|
+
'vitest/no-disabled-tests': 'warn',
|
135
|
+
'vitest/no-focused-tests': ['warn', { fixable: false }],
|
136
|
+
'vitest/no-standalone-expect': 'warn',
|
137
|
+
'vitest/no-test-return-statement': 'warn',
|
138
|
+
'vitest/prefer-comparison-matcher': 'warn',
|
139
|
+
'vitest/prefer-equality-matcher': 'warn',
|
140
|
+
'vitest/prefer-expect-resolves': 'warn',
|
141
|
+
'vitest/prefer-hooks-in-order': 'warn',
|
142
|
+
'vitest/prefer-hooks-on-top': 'warn',
|
143
|
+
'vitest/prefer-mock-promise-shorthand': 'warn',
|
144
|
+
'vitest/prefer-strict-equal': 'warn',
|
145
|
+
'vitest/prefer-to-be': 'warn',
|
146
|
+
'vitest/prefer-to-be-object': 'warn',
|
147
|
+
'vitest/prefer-to-contain': 'warn',
|
148
|
+
'vitest/prefer-to-have-length': 'warn',
|
149
|
+
'vitest/prefer-todo': 'warn',
|
150
|
+
'vitest/require-hook': 'warn',
|
151
|
+
'vitest/require-to-throw-message': 'warn',
|
152
|
+
'vitest/valid-title': 'off',
|
156
153
|
},
|
157
154
|
},
|
158
155
|
];
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"type": "module",
|
3
3
|
"name": "@faergeek/eslint-config",
|
4
|
-
"version": "7.0.
|
4
|
+
"version": "7.0.3",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": "git@github.com:faergeek/eslint-config.git",
|
7
|
-
"author": "
|
7
|
+
"author": "Sergei Slipchenko <faergeek@gmail.com>",
|
8
8
|
"license": "MIT",
|
9
9
|
"exports": {
|
10
10
|
".": "./index.js"
|
@@ -22,10 +22,10 @@
|
|
22
22
|
},
|
23
23
|
"packageManager": "pnpm@9.15.4",
|
24
24
|
"dependencies": {
|
25
|
+
"@vitest/eslint-plugin": "^1.0.1",
|
25
26
|
"eslint-plugin-react": "^7.23.2",
|
26
27
|
"eslint-plugin-react-hooks": "^5.0.0",
|
27
28
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
28
|
-
"@vitest/eslint-plugin": "^1.0.1",
|
29
29
|
"globals": "^15.0.0",
|
30
30
|
"typescript-eslint": "^7.5.0"
|
31
31
|
},
|