1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 09:56:51 +01:00
blog/.eslintrc

44 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-07-11 17:56:13 +02:00
{
2023-08-29 17:07:13 +02:00
"root": true,
2021-02-17 00:37:35 +01:00
"env": {
"browser": true,
"node": true,
"es2020": true,
"jest": true
2019-01-01 19:32:49 +01:00
},
2023-08-29 17:07:13 +02:00
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": { "jsx": true },
"project": "./tsconfig.json",
"tsconfigRootDir": "./"
},
"plugins": ["@typescript-eslint", "react"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jsx-a11y/recommended",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off"
2019-10-16 01:45:30 +02:00
},
2023-08-29 17:07:13 +02:00
"settings": { "react": { "version": "detect" } },
2019-10-02 13:35:50 +02:00
"overrides": [
{
2023-08-29 17:07:13 +02:00
"files": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[jt]s?(x)"
2019-10-02 13:35:50 +02:00
],
2023-08-29 17:07:13 +02:00
"extends": ["plugin:testing-library/react"],
2019-10-02 13:35:50 +02:00
"rules": {
"testing-library/no-node-access": "off",
"testing-library/no-container": "off"
2019-10-02 13:35:50 +02:00
}
2019-01-01 19:32:49 +01:00
}
2019-10-02 13:35:50 +02:00
]
2018-07-11 17:56:13 +02:00
}