-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
monorepo: Normalize exception values in error handling #3700
base: master
Are you sure you want to change the base?
Changes from all commits
7d5d4ee
3bd3d67
feb647b
7e99bb6
3923362
f3543fc
cd53d55
cf4f8bc
75ffbbf
a38c697
13ea657
9df3660
e77fae1
92b33d1
d7807e3
9678ae4
96d13a9
48f2d90
220d1a2
2a18d4f
f9048e0
12df664
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,8 @@ module.exports = { | |
'error', | ||
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' }, | ||
], | ||
'@typescript-eslint/no-redeclare': ['error'], | ||
'@typescript-eslint/no-redeclare': 0, | ||
'no-ex-assign': 0, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, this rule no-ex-assign seems out of question (as discussed) |
||
'@typescript-eslint/no-unnecessary-condition': 'off', | ||
'@typescript-eslint/prefer-nullish-coalescing': 'error', | ||
'@typescript-eslint/restrict-plus-operands': 'off', | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
"strict": true, | ||
"target": "es2020", | ||
"lib": ["ES2020", "DOM"], | ||
"skipLibCheck": true | ||
"skipLibCheck": true, | ||
"useUnknownInCatchVariables": false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, this needs to be the otheway around: we want to have So and this is the version of when removing the new assignment with So no underlying of With Ah, just seeing that a plain use in But for Hmm. Let me give this some thought, input welcome from the team. |
||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we have to set this down, when reading on no-redeclare we are not redeclaring anyhting but only reassiging, which is totally norma, right?
I did a quick test re-adding the original rule setup and run
npm run lint
from root, still seems to work.