mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": ["plugin:react/recommended", "airbnb", "prettier"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["react", "@typescript-eslint", "prettier"],
|
|
"rules": {
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"endOfLine": "auto"
|
|
}
|
|
],
|
|
"no-console": "off",
|
|
"react/prop-types": "off",
|
|
"no-shadow": "off",
|
|
"no-unused-vars": "off",
|
|
"spaced-comment": "off",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"import/extensions": [
|
|
"error",
|
|
"ignorePackages",
|
|
{ "ts": "never", "tsx": "never", "js": "never" }
|
|
],
|
|
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }],
|
|
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }]
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"typescript": {}
|
|
}
|
|
},
|
|
"globals": {
|
|
"JSX": true
|
|
}
|
|
}
|