Skip to content

Commit

Permalink
refactor: Update ESLint configuration to ignore scripts folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocjohn committed Oct 27, 2024
1 parent eebcd9f commit 8765d18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/localize/*.ts
src/localize/*.ts
scripts/*.js
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default [
'@typescript-eslint': typescriptEslintRecommended,
perfectionist,
},
ignorePatterns: ['node_modules/', 'dist/', 'build/', 'scripts/'],
rules: {
// Perfectionist sort-imports rule
'perfectionist/sort-imports': [
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,4 @@
"desc": "Establecer la acción para el botón personalizado"
}
}
}
}

0 comments on commit 8765d18

Please sign in to comment.