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
🤔In my opinion, the problem is obvious without repro.
Describe the bug
I ran ESLint with the latest @nuxt/eslint on my local repo formatted by prettier, it stills throws some warnings:
D:\Solutions\vitify-nuxt\components\App\AppDrawer.vue
60:24 warning Expected no line breaks before closing bracket, but 1 line break found vue/html-closing-bracket-newline
67:23 warning Expected no line breaks before closing bracket, but 1 line break found vue/html-closing-bracket-newline
D:\Solutions\vitify-nuxt\components\App\AppSettings.vue
47:31 warning Expected 1 line break after opening tag (`<v-label>`), but no line breaks found vue/singleline-html-element-content-newline
I checked the rules listed by eslint-config-vue, there are some other stylistic rules need to be disabled (commented by "included in recommended"):
{"vue/array-bracket-newline": "off","vue/array-bracket-spacing": "off","vue/array-element-newline": "off","vue/arrow-spacing": "off","vue/block-spacing": "off","vue/block-tag-newline": "off","vue/brace-style": "off","vue/comma-dangle": "off","vue/comma-spacing": "off","vue/comma-style": "off","vue/dot-location": "off","vue/func-call-spacing": "off","vue/html-closing-bracket-newline": "off",// included in `recommended`"vue/html-closing-bracket-spacing": "off",// included in `recommended`"vue/html-end-tags": "off",// included in `recommended`"vue/html-indent": "off",// already disabled by @nuxt/eslint"vue/html-quotes": "off",// already disabled by @nuxt/eslint"vue/key-spacing": "off","vue/keyword-spacing": "off","vue/max-attributes-per-line": "off",// already disabled by @nuxt/eslint"vue/multiline-html-element-content-newline": "off",// already disabled by @nuxt/eslint"vue/multiline-ternary": "off","vue/mustache-interpolation-spacing": "off",// included in `recommended`"vue/no-extra-parens": "off","vue/no-multi-spaces": "off",// already disabled by @nuxt/eslint"vue/no-spaces-around-equal-signs-in-attribute": "off",// already disabled by @nuxt/eslint"vue/object-curly-newline": "off","vue/object-curly-spacing": "off","vue/object-property-newline": "off","vue/operator-linebreak": "off","vue/quote-props": "off","vue/script-indent": "off","vue/singleline-html-element-content-newline": "off",// included in `recommended`"vue/space-in-parens": "off","vue/space-infix-ops": "off","vue/space-unary-ops": "off","vue/template-curly-spacing": "off",}
Maybe we can also disable these 5 rules included by vue/recommended by default?
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Package
None
Reproduction
🤔In my opinion, the problem is obvious without repro.
Describe the bug
I ran ESLint with the latest
@nuxt/eslint
on my local repo formatted by prettier, it stills throws some warnings:I checked the rules listed by
eslint-config-vue
, there are some other stylistic rules need to be disabled (commented by "included inrecommended
"):Maybe we can also disable these 5 rules included by
vue/recommended
by default?Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: