You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
924 B

module.exports = {
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react"
],
"settings": {
"react": {
"version": "detect"
},
},
"rules": {
"no-unused-vars": ["error", { "vars": "local", "args": "none", "ignoreRestSiblings": true }],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react/prop-types": "off"
},
"overrides": [
{
"files": ["*.{ts,tsx}"],
"rules": {
},
"parser": "@typescript-eslint/parser",
}
],
};