Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix: corrige la règle '@typescript-eslint/no-unused-vars' qui s'act…
Browse files Browse the repository at this point in the history
…ivait sur les fichiers TS
  • Loading branch information
nicolassutter committed Jul 19, 2023
1 parent caab110 commit c2f5798
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/vue-typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ function getConfig() {

overrides: [
{
files: ['*.vue'],
files: ['*.{vue,ts,tsx}'],
rules: {
// On utilise la règle de TS qui fait déjà le boulot
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
},
Expand Down
1 change: 0 additions & 1 deletion src/vue/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function getConfig() {
{
files: ['*.vue'],
rules: {
'no-unused-vars': 'off',
'no-undef': 'off',
},
},
Expand Down

0 comments on commit c2f5798

Please sign in to comment.