Standardize linting rules and TypeScript compiler options 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
731 B
JSON
25 lines
731 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2022,
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"plugins": ["@typescript-eslint", "react", "react-hooks"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"settings": {
|
|
"react": { "version": "detect" }
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"react/react-in-jsx-scope": "off"
|
|
},
|
|
"ignorePatterns": ["dist", "node_modules", "*.d.ts", "*.js"]
|
|
}
|