eslint-plugin-vue-pug
eslint-plugin-vue-pug copied to clipboard
linting your pug templates in vue single file components
Flat config is going to be the default in eslint 9, this migrates/hacks the current generated conf into a flat version that can be used in `eslint.config.js` ``` import vuePug...
When `vue/max-attributes-per-line` reformats the line, the attributes end up completely unindented: ``` a(href="link" @click="click") ``` becomes: ``` a( href="link" @click="click") ``` when ideally it should be: ``` a( href="link" @click="click"...
I tried adding this to my yarn project which uses [PnP](https://v3.yarnpkg.com/features/pnp) and it failed with several dependency errors. First issues is that vue-eslint-parser is configured as a devDependency instead of...
Using a super basic transition component this rule fails. Eslint file: ```json5 { "root": true, "extends": [ "eslint:recommended", "plugin:vue/vue3-essential", "plugin:vue-pug/vue3-recommended", "@vue/eslint-config-typescript/recommended", "@vue/eslint-config-prettier" ], "env": { "jquery": true, "browser": true },...
Unsure if this conflict should be reported here or in https://github.com/vuejs/eslint-plugin-vue . Given a valid pug template that uses template strings (https://pugjs.org/language/attributes.html#multiline-attributes): ```vue a( :href=` thing + more + '&more='...
How to use eslint-plugin-pug in eslint flat. I use pug and eslint@9 in my vue project. There is a problem that that trouble me. ts/consistent-type-imports rule will InstanceType covert to...
See https://github.com/rashfael/eslint-plugin-vue-pug/pull/26#issuecomment-2354871900