release: v3.0.0
This commit is contained in:
+14
-2
@@ -33,8 +33,13 @@ export default [
|
||||
},
|
||||
rules: {
|
||||
...tsPlugin.configs.recommended.rules,
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/ban-ts-comment': 'off',
|
||||
'no-undef': 'off',
|
||||
'@typescript-eslint/no-explicit-any': 'warn',
|
||||
'@typescript-eslint/ban-ts-comment': ['warn', {
|
||||
'ts-ignore': 'allow-with-description',
|
||||
'ts-expect-error': 'allow-with-description',
|
||||
minimumDescriptionLength: 6
|
||||
}],
|
||||
'@typescript-eslint/no-unused-vars': ['error', {
|
||||
argsIgnorePattern: '^_',
|
||||
varsIgnorePattern: '^_'
|
||||
@@ -44,6 +49,13 @@ export default [
|
||||
'react-refresh/only-export-components': 'warn'
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ['**/*.test.{ts,tsx}', 'src/test/**/*.{ts,tsx}'],
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/ban-ts-comment': 'off'
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ['**/*.config.{js,ts}', '**/*.config.{cjs,mjs}', 'vite.config.*', 'eslint.config.js'],
|
||||
languageOptions: {
|
||||
|
||||
Reference in New Issue
Block a user