Skip to content

Commit 72e6c6a

Browse files
committed
Disable no unnecessary type assertions since it's not working properly
1 parent 938f908 commit 72e6c6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

eslint.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ export default tseslint.config(
302302
'@typescript-eslint/no-explicit-any': 'off', // Was 'error'
303303
'@typescript-eslint/no-import-type-side-effects': 'error',
304304
'@typescript-eslint/no-redundant-type-constituents': 'off', // Was 'error'
305-
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
305+
// This rule doesn't seem to fail locally but fails on the CI
306+
// '@typescript-eslint/no-unnecessary-type-assertion': 'error',
306307
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], // Was 'error'
307308
}
308309
},
@@ -368,7 +369,7 @@ export default tseslint.config(
368369
},
369370
},
370371
{
371-
name: 'Rules specifically for bundles',
372+
name: 'Rules specifically for bundle entrypoints',
372373
files: ['src/bundles/*/src/index.ts'],
373374

374375
rules: {
@@ -385,7 +386,7 @@ export default tseslint.config(
385386
}
386387
},
387388
{
388-
name: 'Rules specifically for tabs',
389+
name: 'Rules specifically for tab entrypoints',
389390
files: [
390391
'src/tabs/*/index.tsx',
391392
'src/tabs/*/src/index.tsx',
@@ -452,7 +453,6 @@ export default tseslint.config(
452453
}],
453454
'vitest/no-alias-methods': 'off',
454455
'vitest/no-conditional-expect': 'off',
455-
'vitest/no-export': 'off',
456456
'vitest/no-focused-tests': ['warn', { fixable: false }],
457457
'vitest/prefer-describe-function-title': 'warn',
458458
'vitest/require-top-level-describe': 'off',

0 commit comments

Comments
 (0)