mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 01:30:01 +01:00
update eslint setup
This commit is contained in:
parent
f7b75aafa8
commit
9e89065627
12
.eslintrc
12
.eslintrc
@ -1,11 +1,15 @@
|
||||
{
|
||||
"parser": "babel-eslint",
|
||||
"extends": ["eslint:recommended", "prettier"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2020,
|
||||
"sourceType": "module"
|
||||
"sourceType": "module",
|
||||
"ecmaFeatures": { "jsx": true }
|
||||
},
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true,
|
||||
"es2020": true,
|
||||
"jest": true
|
||||
},
|
||||
"env": { "browser": true, "node": true, "es6": true, "jest": true },
|
||||
"settings": {
|
||||
"react": { "version": "detect" }
|
||||
},
|
||||
|
33174
package-lock.json
generated
33174
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -106,7 +106,6 @@
|
||||
"@typescript-eslint/eslint-plugin": "^4.14.1",
|
||||
"@typescript-eslint/parser": "^4.14.1",
|
||||
"@welldone-software/why-did-you-render": "^6.0.5",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint": "^7.19.0",
|
||||
"eslint-config-prettier": "^7.2.0",
|
||||
"eslint-loader": "^4.0.2",
|
||||
|
Loading…
Reference in New Issue
Block a user