mirror of https://github.com/astral-sh/ruff
26 lines
691 B
Plaintext
26 lines
691 B
Plaintext
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint", "prettier"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react/jsx-runtime",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"rules": {
|
|
// Disable some recommended rules that we don't want to enforce.
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-empty-function": "off"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|