2020-07-17 10:03:38 +02:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2020-08-01 12:34:56 +02:00
|
|
|
"es2020": true,
|
|
|
|
"node": true
|
2020-07-17 10:03:38 +02:00
|
|
|
},
|
2023-11-23 03:03:48 +01:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:prettier/recommended",
|
|
|
|
"plugin:import/recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"next"
|
|
|
|
],
|
2023-02-04 17:59:52 +01:00
|
|
|
"parser": "@typescript-eslint/parser",
|
2020-07-17 10:03:38 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"ecmaVersion": 11,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
2023-02-08 01:29:25 +01:00
|
|
|
"plugins": ["@typescript-eslint", "prettier"],
|
2022-08-29 05:20:54 +02:00
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
2023-12-14 23:01:58 +01:00
|
|
|
"node": {
|
|
|
|
"moduleDirectory": ["node_modules", "src/"]
|
2022-08-29 05:20:54 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-07-17 10:03:38 +02:00
|
|
|
"rules": {
|
2022-08-29 05:20:54 +02:00
|
|
|
"no-console": "error",
|
2020-08-23 04:05:07 +02:00
|
|
|
"react/display-name": "off",
|
2024-02-03 07:20:13 +01:00
|
|
|
"react-hooks/exhaustive-deps": "off",
|
2020-07-30 09:06:29 +02:00
|
|
|
"react/react-in-jsx-scope": "off",
|
2022-03-11 04:01:33 +01:00
|
|
|
"react/prop-types": "off",
|
2022-07-16 08:53:31 +02:00
|
|
|
"import/no-anonymous-default-export": "off",
|
2023-04-21 21:43:37 +02:00
|
|
|
"import/no-named-as-default": "off",
|
2023-02-08 01:29:25 +01:00
|
|
|
"@next/next/no-img-element": "off",
|
|
|
|
"@typescript-eslint/no-empty-function": "off",
|
2023-03-23 22:01:15 +01:00
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
2023-08-10 22:26:33 +02:00
|
|
|
"@typescript-eslint/no-var-requires": "off",
|
2023-08-19 06:52:59 +02:00
|
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": ["error", { "ignoreRestSiblings": true }]
|
2020-07-17 10:03:38 +02:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"React": "writable"
|
|
|
|
}
|
|
|
|
}
|