You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open App.vue, simply re-save it (or make small changes) -> in terminal problems are shown as "Warning", however in Configuration -> ESLint configuration -> Rules tab all rules are set as Error (Default) <--- THIS IS THE FIRST ISSUE;
Open vue ui and in Configuration -> ESLint configuration -> Rules tab change Error (Default) to Warning for the rule vue/max-attributes-per-line or vue/component-name-in-template-casing (those two produced warnings at the step 5);
Stop launched npm run serve at the step 4 (without this, changes in ESLint Rules are not applied);
npm run serve -> no any warnings/errors;
Open App.vue, simply re-save it (or make small changes) -> in terminal some problems are shown as "Warning" and those problems, for which we changed presets from Error (Default) to Warning at the step 6 are not shown at all <--- THIS IS THE SECOND ISSUE.
What is expected?
Error (Default) preset should show problems as errors in terminal. Warning preset should show problems as warnings in terminal.
What is actually happening?
Error (Default) preset shows problems as "Warning" in terminal. Warning preset shows nothing (work as "Off").
The text was updated successfully, but these errors were encountered:
TitanFighter
changed the title
ESLing ui rules presets work incorrectly: "Error (Default)" produces warnings; "Warning" does not work at all.
ESLint ui rules presets work incorrectly: "Error (Default)" produces warnings; "Warning" does not work at all.
Dec 2, 2018
Version
3.2.1
Reproduction link
http://no.link
Environment info
Steps to reproduce
vue create test
or create project invue ui
;default
template;vue ui
and inConfiguration -> ESLint configuration
-> select configStrongly recommended
orRecommended
;npm run serve
-> no any warnings (however, warnings must be shown. Regarding this issue the ticket No eslint warnings on initial "npm run serve" #3065 already opened);App.vue
, simply re-save it (or make small changes) -> in terminal problems are shown as "Warning", however inConfiguration -> ESLint configuration -> Rules tab
all rules are set asError (Default)
<--- THIS IS THE FIRST ISSUE;vue ui
and inConfiguration -> ESLint configuration -> Rules tab
changeError (Default)
toWarning
for the rulevue/max-attributes-per-line
orvue/component-name-in-template-casing
(those two produced warnings at the step 5);npm run serve
at the step 4 (without this, changes in ESLint Rules are not applied);npm run serve
-> no any warnings/errors;App.vue
, simply re-save it (or make small changes) -> in terminal some problems are shown as "Warning" and those problems, for which we changed presets fromError (Default)
toWarning
at the step 6 are not shown at all <--- THIS IS THE SECOND ISSUE.What is expected?
Error (Default)
preset should show problems as errors in terminal.Warning
preset should show problems as warnings in terminal.What is actually happening?
Error (Default)
preset shows problems as "Warning" in terminal.Warning
preset shows nothing (work as "Off").The text was updated successfully, but these errors were encountered: