Skip to content

Commit

Permalink
use type checking disablement profile from tseslint
Browse files Browse the repository at this point in the history
  • Loading branch information
rosskevin committed Jul 4, 2024
1 parent 45b2366 commit bec04a9
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/limits/jsOnly.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ import { JS_FILES } from '../constants.js'
const configs = tseslint.config({
name: 'alienfast-js-only',
files: JS_FILES,
rules: {
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-floating-promises': 'off',
},
...tseslint.configs.disableTypeChecked,
// rules: {
// '@typescript-eslint/no-unsafe-argument': 'off',
// '@typescript-eslint/no-unsafe-member-access': 'off',
// '@typescript-eslint/no-unused-vars': 'off',
// '@typescript-eslint/no-unsafe-assignment': 'off',
// '@typescript-eslint/no-unsafe-call': 'off',
// '@typescript-eslint/no-unsafe-return': 'off',
// '@typescript-eslint/no-floating-promises': 'off',
// },
})

export default configs

0 comments on commit bec04a9

Please sign in to comment.