1
0
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:
Matthias Kretschmann 2021-02-17 00:37:35 +01:00
parent f7b75aafa8
commit 9e89065627
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 33165 additions and 22 deletions

View File

@ -1,11 +1,15 @@
{ {
"parser": "babel-eslint",
"extends": ["eslint:recommended", "prettier"], "extends": ["eslint:recommended", "prettier"],
"parserOptions": { "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": { "settings": {
"react": { "version": "detect" } "react": { "version": "detect" }
}, },

33174
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -106,7 +106,6 @@
"@typescript-eslint/eslint-plugin": "^4.14.1", "@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1", "@typescript-eslint/parser": "^4.14.1",
"@welldone-software/why-did-you-render": "^6.0.5", "@welldone-software/why-did-you-render": "^6.0.5",
"babel-eslint": "^10.1.0",
"eslint": "^7.19.0", "eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0", "eslint-config-prettier": "^7.2.0",
"eslint-loader": "^4.0.2", "eslint-loader": "^4.0.2",