add typescript specific linting

This commit is contained in:
Thijs van Loef 2025-06-09 22:25:27 +02:00
parent 3b10453af3
commit 2047aa30e1

View file

@ -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"
}
}
];
);