1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-25 11:18:35 +01:00
blog/.eslintrc

46 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-07-11 17:56:13 +02:00
{
"parser": "babel-eslint",
2019-10-02 13:35:50 +02:00
"extends": ["eslint:recommended", "prettier"],
2018-07-11 17:56:13 +02:00
"parserOptions": {
2019-10-02 13:35:50 +02:00
"ecmaVersion": 2018,
"sourceType": "module"
2019-01-01 19:32:49 +01:00
},
2019-10-02 13:35:50 +02:00
"env": { "browser": true, "node": true, "es6": true, "jest": true },
2019-10-16 01:45:30 +02:00
"settings": {
"react": { "version": "detect" }
},
2019-10-02 13:35:50 +02:00
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"parser": "@typescript-eslint/parser",
"extends": [
2019-10-13 19:08:36 +02:00
"plugin:@typescript-eslint/eslint-recommended",
2019-10-02 13:35:50 +02:00
"plugin:@typescript-eslint/recommended",
"plugin:jsx-a11y/recommended",
"prettier/@typescript-eslint",
2019-10-03 03:23:47 +02:00
"prettier/react",
2019-10-02 13:35:50 +02:00
"plugin:prettier/recommended",
2019-12-14 13:53:07 +01:00
"plugin:react/recommended",
"plugin:testing-library/recommended",
"plugin:testing-library/react"
2019-10-02 13:35:50 +02:00
],
2019-12-14 13:53:07 +01:00
"plugins": ["@typescript-eslint", "react", "testing-library"],
2019-10-02 13:35:50 +02:00
"rules": {
"object-curly-spacing": ["error", "always"],
"react/prop-types": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
2019-10-03 03:23:47 +02:00
"ecmaFeatures": {
"jsx": true
},
2019-10-13 19:08:36 +02:00
"project": "./tsconfig.json",
"tsconfigRootDir": "./"
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
}