Skip to content

Commit

Permalink
Disable conflicting rule
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed May 29, 2024
1 parent 68ddb32 commit f90efb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rules/next.rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default tseslint.config(

{
extends: [tseslint.configs.disableTypeChecked],
files: ['**/*.js'],
files: ['**/*.js', '**/*.mjs'],
},

{
Expand All @@ -66,6 +66,7 @@ export default tseslint.config(
'@stylistic/jsx-self-closing-comp': ['error', { component: true, html: true }],
'@stylistic/jsx-sort-props': ['error', { ignoreCase: true, multiline: 'last', reservedFirst: ['key', 'ref'], shorthandLast: true }],
'@stylistic/no-tabs': ['error', { allowIndentationTabs: true }],
'@typescript-eslint/no-unused-vars': 'off',
'no-unused-vars': 'warn',
'no-var': 'error',
'perfectionist/sort-jsx-props': 'off',
Expand Down

0 comments on commit f90efb9

Please sign in to comment.