diff --git a/eslint.config.js b/eslint.config.js index de201044..32a7f598 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,7 @@ -// eslint.config.js -export default [ +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + tseslint.configs.recommended, { files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], rules: { @@ -7,4 +9,4 @@ export default [ "prefer-const": "error" } } -]; +);