diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-25 10:09:14 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-25 10:09:14 +0000 |
commit | c4c15363fbb18d02e01aae9ffd386ff93446c0a3 (patch) | |
tree | d09d525548e3f816378c61fc21f0e63b2e487617 /editors/code/.eslintrc.js | |
parent | 1fe48a0115c24240f5a3e1b329e642f18e2715d6 (diff) | |
parent | 6ec4a7db42be5980f7a4b20f349cb10709dbf71b (diff) |
Merge #3295
3295: Refactoring fetchArtifactReleaseInfo() r=matklad a=Veetaha
https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md
I fact this rule doesn't work when you put an unnecessary non-null assertion in an expression (as we had `(awat f())!`, but it is useful in other cases...
Closes #3295, i guess...
Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'editors/code/.eslintrc.js')
-rw-r--r-- | editors/code/.eslintrc.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/.eslintrc.js b/editors/code/.eslintrc.js index 16f18ab2c..c6bf410f4 100644 --- a/editors/code/.eslintrc.js +++ b/editors/code/.eslintrc.js | |||
@@ -32,6 +32,7 @@ module.exports = { | |||
32 | "@typescript-eslint/semi": [ | 32 | "@typescript-eslint/semi": [ |
33 | "error", | 33 | "error", |
34 | "always" | 34 | "always" |
35 | ] | 35 | ], |
36 | "@typescript-eslint/no-unnecessary-type-assertion": "error" | ||
36 | } | 37 | } |
37 | }; | 38 | }; |