Skip to content

Commit 5f8a01c

Browse files
committed
fix: unit tests and checks
1 parent 97a01f8 commit 5f8a01c

File tree

39 files changed

+2834
-18976
lines changed

39 files changed

+2834
-18976
lines changed

.oxlintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
"react_perf/jsx-no-new-array-as-prop": "error",
242242
"react_perf/jsx-no-new-function-as-props": "error",
243243
"react_perf/jsx-no-new-object-as-prop": "error",
244-
"react/button-has-type": "error",
244+
"react/button-has-type": "off",
245245
"react/exhaustive-deps": "error",
246246
"react/jsx-filename-extension": [
247247
"error",

eslint.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export default [
109109
'**/__stories__/**/*.{ts,tsx}',
110110
'**/__tests__/**/*.{ts,tsx}',
111111
'**/vite.config.*',
112+
'**/vitest.config.*',
112113
'utils/test/**/*.{ts,tsx}',
113114
'**/vitest.setup.ts',
114115
],
@@ -136,6 +137,7 @@ export default [
136137
'**/__stories__/**/*.{ts,tsx}',
137138
'**/__tests__/**/*.{ts,tsx}',
138139
'**/vite.config.*',
140+
'**/vitest.config.*',
139141
'utils/test/**/*.{ts,tsx}',
140142
'**/vitest.setup.ts',
141143
'.storybook/**',
@@ -160,7 +162,8 @@ export default [
160162
},
161163
})),
162164
{
163-
files: ['**/*.d.ts', '**/vite.config.ts'],
165+
files: ['**/*.d.ts', '**/vite.config.ts', '**/vitest.config.*',
166+
],
164167

165168
rules: {
166169
'import/no-extraneous-dependencies': 'off',

0 commit comments

Comments
 (0)