Skip to content

Commit

Permalink
Fixed eslint errors after adding new rules
Browse files Browse the repository at this point in the history
refs: BLAIS5-3514
  • Loading branch information
motalm committed Oct 13, 2023
1 parent 330537d commit 8a91506
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
},
"plugins": [
"react",
"@typescript-eslint"
"@typescript-eslint",
"import"
],
"rules": {
"linebreak-style": [
Expand All @@ -42,9 +43,7 @@
"always"
],
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": true
}
"error", {"devDependencies": true}
],
"@typescript-eslint/no-explicit-any": "error",
"react/react-in-jsx-scope": "off",
Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@
"react-dom": "^17.0.0",
"react-router-dom": "^5.2.0",
"react-scripts": "5.0.1",
"typescript": "~4.3.5"
"typescript": "~4.3.5",
"react-router": "latest",
"history": "latest"

},
"devDependencies": {
"@babel/core": "^7.20.5",
Expand All @@ -65,7 +68,7 @@
"eslint": "^8.0.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.32.2",
Expand All @@ -87,4 +90,4 @@
"last 1 safari version"
]
}
}
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5356,7 +5356,7 @@ eslint-plugin-flowtype@^8.0.3:
lodash "^4.17.21"
string-natural-compare "^3.0.1"

eslint-plugin-import@^2.25.2, eslint-plugin-import@^2.25.3:
eslint-plugin-import@^2.25.3, eslint-plugin-import@^2.28.1:
version "2.28.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz#63b8b5b3c409bfc75ebaf8fb206b07ab435482c4"
integrity sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==
Expand Down

0 comments on commit 8a91506

Please sign in to comment.