Commit e331f97
committed
test: don't test for
Previously, the `prefer-const` rule is from
'@typescript-eslint/recommended`, which is enabled for all files;
In @typescript-eslint v3, '@typescript-eslint/recommended` inherits this
rule by extending from `@typescript-eslint/eslint-recommended`, which,
only applies to `.ts/.tsx` filesprefer-const in .js files1 parent d0761f6 commit e331f97
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
0 commit comments