Commit 374aa73
committed
fix: turn on ts-eslint version of no-unused-vars for ts & vue files
Fixes #14
Fixes vuejs/create-vue#158
Technically turning new rules on would be a breaking change because
it introduces more errors in an existing codebase.
However, in our README we've already made it clear that this ruleset
should only be used with `@vue/cli` or `create-vue`, so an existing
`eslint:recommended` config is expected, thus no breaking changes.
Nevertheless, I choose to make it `warn` instead of `error` to minimize
the impact.1 parent 75a6bde commit 374aa73
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments