gseps-front/.eslintrc.json

44 lines
923 B
JSON
Raw Normal View History

2023-08-23 07:50:10 +00:00
{
2023-08-23 08:12:52 +00:00
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"next/core-web-vitals",
"plugin:prettier/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"tsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "prettier", "react-hooks"],
"rules": {
"no-use-before-define": "off",
"no-unused-vars": "warn",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"valid-typeof": "off",
"react/no-unescaped-entities": "warn",
"react/react-in-jsx-scope": "off",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
},
"settings": {
"react": {
"version": "detect"
}
}
2023-08-23 07:50:10 +00:00
}