1
Fork 0
This repository has been archived on 2022-08-23. You can view files and clone it, but cannot push or open issues or pull requests.
web-drs-frontend/.eslintrc.json
2022-01-07 12:09:22 +01:00

45 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"
}
}