mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 04:40:44 +00:00
89 lines
1.8 KiB
JSON
89 lines
1.8 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"plugin:react/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript"
|
|
],
|
|
"globals": {
|
|
"JSX": true
|
|
},
|
|
"ignorePatterns": [
|
|
"src/assets",
|
|
"src/components",
|
|
"src/context",
|
|
"src/examples",
|
|
"src/layouts"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"brace-style": [
|
|
2,
|
|
"allman"
|
|
],
|
|
"indent": [
|
|
"error",
|
|
3,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"jsx-one-expression-per-line": "off",
|
|
"max-len": "off",
|
|
"no-console": "off",
|
|
"no-constant-condition": "off",
|
|
"no-continue": "off",
|
|
"no-shadow": "off",
|
|
"no-unused-vars": "off",
|
|
"no-plusplus": "off",
|
|
"no-underscore-dangle": "off",
|
|
"no-else-return": "off",
|
|
"react/display-name": "off",
|
|
"spaced-comment": "off",
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"object-shorthand": "off",
|
|
"react/prop-types": "off",
|
|
"react/jsx-filename-extension": [
|
|
"warn",
|
|
{
|
|
"extensions": [
|
|
".tsx"
|
|
]
|
|
}
|
|
],
|
|
"react/jsx-indent": "off",
|
|
"react/jsx-indent-props": [
|
|
"error",
|
|
3
|
|
],
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"quotes": [
|
|
"error",
|
|
"double"
|
|
]
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"typescript": {}
|
|
}
|
|
}
|
|
}
|