1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 17:23:50 +01:00
blog/.eslintrc

39 lines
1.1 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 },
"settings": { "react": { "version": "detect" } },
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"parser": "@typescript-eslint/parser",
"extends": [
"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",
"plugin:react/recommended"
],
"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-02 13:35:50 +02:00
"project": "./tsconfig.json"
}
2019-01-01 19:32:49 +01:00
}
2019-10-02 13:35:50 +02:00
]
2018-07-11 17:56:13 +02:00
}