mirror of
https://github.com/fergalmoran/supanextail.git
synced 2025-12-22 01:10:01 +00:00
75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true,
|
|
"cypress/globals": true
|
|
},
|
|
"extends": [
|
|
"next",
|
|
"next/core-web-vitals",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"cypress",
|
|
"simple-import-sort",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"no-console": "off",
|
|
"react/no-unescaped-entities": "off",
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"semi": true,
|
|
"trailingComma": "es5",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"endOfLine": "auto",
|
|
"printWidth": 80,
|
|
"bracketSameLine": true,
|
|
"bracketSpacing": true
|
|
}
|
|
],
|
|
"react/prop-types": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/jsx-filename-extension": [
|
|
2,
|
|
{
|
|
"extensions": [
|
|
".js",
|
|
".jsx",
|
|
".ts",
|
|
".tsx"
|
|
]
|
|
}
|
|
],
|
|
"@typescript-eslint/explicit-function-return-type": [
|
|
"warn",
|
|
{
|
|
"allowExpressions": true,
|
|
"allowTypedFunctionExpressions": true,
|
|
"allowHigherOrderFunctions": true,
|
|
"allowConciseArrowFunctionExpressionsStartingWithVoid": true
|
|
}
|
|
]
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"node": {
|
|
"paths": [
|
|
"."
|
|
]
|
|
}
|
|
}
|
|
}
|
|
} |