Skip to content

Commit

Permalink
lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
tcastelly committed Oct 10, 2024
1 parent 4138ee1 commit 3bd744c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ const compat = new FlatCompat({
export default [
...compat.config({
extends: ['airbnb-base'],
rules: {
// fix airbnb conflicts
'import/extensions': 'off',
'import/no-unresolved': 'off',
},
}),
{
files: ['**/*.+(ts|tsx|mts|cts|js|mjs|cjs|jsx)'],
Expand Down Expand Up @@ -44,10 +49,6 @@ export default [
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/ban-ts-comment': 0,

// fix airbnb conflicts
'import/extensions': 'off',
'import/no-unresolved': 'off',

'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'error',
// fix try/catch unused (e)
Expand Down

0 comments on commit 3bd744c

Please sign in to comment.