2022-04-22 19:02:54 -04:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": false
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react/jsx-runtime",
|
|
|
|
"plugin:prettier/recommended"
|
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"ecmaVersion": 12,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": ["@typescript-eslint", "react"],
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-unused-vars": "error",
|
|
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
|
|
"@typescript-eslint/consistent-type-imports": "error",
|
2022-05-09 16:06:01 -04:00
|
|
|
"prettier/prettier": "error",
|
|
|
|
"react/jsx-curly-brace-presence": "error"
|
2022-04-22 19:02:54 -04:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|