mango-v4-ui/.eslintrc.json

32 lines
747 B
JSON
Raw Normal View History

2022-04-12 13:48:22 -07:00
{
2022-11-19 11:20:36 -08:00
"parser": "@typescript-eslint/parser",
2023-08-17 14:16:23 -07:00
"plugins": ["@typescript-eslint"],
2022-11-19 11:20:36 -08:00
"extends": [
2023-08-17 14:16:23 -07:00
"next",
"prettier",
2022-11-19 11:20:36 -08:00
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
2023-08-17 14:16:23 -07:00
"plugin:tailwindcss/recommended"
2022-11-19 11:20:36 -08:00
],
"env": {
"es6": true,
"browser": true,
"jest": true,
"node": true
},
"rules": {
2022-11-19 11:20:36 -08:00
"react/react-in-jsx-scope": 0,
"@next/next/no-img-element": 0,
2022-12-08 10:23:26 -08:00
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies
2023-02-27 23:20:11 -08:00
"@typescript-eslint/no-explicit-any": "error",
2022-11-19 11:20:36 -08:00
"@typescript-eslint/no-unused-vars": [
2,
{
"argsIgnorePattern": "^_"
}
]
}
2022-04-12 13:48:22 -07:00
}