Skip to content

Commit

Permalink
Fixed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij-Katiyar committed May 15, 2024
1 parent b7f02c9 commit afe03c9
Show file tree
Hide file tree
Showing 6 changed files with 3,434 additions and 24,855 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.1
18.17
49 changes: 28 additions & 21 deletions webapp/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": [
"eslint:recommended",
"plugin:react-hooks/recommended"

"eslint:recommended",
"plugin:react-hooks/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
Expand Down Expand Up @@ -33,7 +32,7 @@
"settings": {
"import/resolver": "webpack",
"react": {
"version": "detect"
"version": "detect"
}
},
"rules": {
Expand Down Expand Up @@ -129,7 +128,7 @@
"global-require": 2,
"guard-for-in": 2,
"id-blacklist": 0,
"import/no-unresolved": 0, // ts handles this better
"import/no-unresolved": 0,
"import/order": [
"error",
{
Expand All @@ -147,10 +146,10 @@
}
],
"import-newlines/enforce": [
2,
3
2,
3
],
"indent": 0, // ts handles this
"indent": 0,
"jsx-quotes": [
2,
"prefer-single"
Expand Down Expand Up @@ -538,7 +537,7 @@
"location",
"history",
"component",
"className"
"className"
]
}
],
Expand All @@ -548,15 +547,15 @@
"react/self-closing-comp": 2,
"react/sort-comp": 0,
"react/style-prop-object": [
2,
{
"allow": [
"FormattedNumber",
"FormattedDuration",
"FormattedRelativeTime",
"Timestamp"
]
}
2,
{
"allow": [
"FormattedNumber",
"FormattedDuration",
"FormattedRelativeTime",
"Timestamp"
]
}
],
"require-yield": 2,
"rest-spread-spacing": [
Expand Down Expand Up @@ -637,12 +636,17 @@
"unused-imports/no-unused-imports": 2,
"no-relative-import-paths/no-relative-import-paths": [
"error",
{ "allowSameFolder": true }
{
"allowSameFolder": true
}
]
},
"overrides": [
{
"files": ["**/*.tsx", "**/*.ts"],
"files": [
"**/*.tsx",
"**/*.ts"
],
"extends": "plugin:@typescript-eslint/recommended",
"rules": {
"@typescript-eslint/no-empty-function": 0,
Expand Down Expand Up @@ -672,7 +676,10 @@
"react/jsx-filename-extension": [
1,
{
"extensions": [".jsx", ".tsx"]
"extensions": [
".jsx",
".tsx"
]
}
]
}
Expand Down
Loading

0 comments on commit afe03c9

Please sign in to comment.