Use Flat ESLint

This commit is contained in:
ingalls
2024-08-30 10:53:18 -06:00
parent 67ac2f084e
commit 3a2530e1a4

View File

@@ -0,0 +1,12 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
"rules": {
"@typescript-eslint/no-explicit-any": "warn"
}
}
);