46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
|
{
|
||
|
"root": true,
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 2020,
|
||
|
"sourceType": "module",
|
||
|
"ecmaFeatures": {
|
||
|
"jsx": true
|
||
|
}
|
||
|
},
|
||
|
"settings": {
|
||
|
"react": {
|
||
|
"version": "detect"
|
||
|
}
|
||
|
},
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"amd": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:react/recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:@next/next/recommended",
|
||
|
"plugin:jsx-a11y/recommended",
|
||
|
"plugin:prettier/recommended",
|
||
|
"next",
|
||
|
"next/core-web-vitals"
|
||
|
],
|
||
|
"plugins": ["import", "simple-import-sort", "prettier"],
|
||
|
"rules": {
|
||
|
"prettier/prettier": ["error", {}, { "usePrettierrc": true }],
|
||
|
"react/react-in-jsx-scope": "off",
|
||
|
"jsx-a11y/accessible-emoji": "off",
|
||
|
"@typescript-eslint/explicit-function-return-type": "off",
|
||
|
"@typescript-eslint/no-unused-vars": [
|
||
|
"error",
|
||
|
{ "argsIgnorePattern": "^_.+" }
|
||
|
],
|
||
|
"simple-import-sort/imports": "error",
|
||
|
"simple-import-sort/exports": "error",
|
||
|
"no-duplicate-imports": "off"
|
||
|
}
|
||
|
}
|