We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The eslint flat config is the new recommended approach.
I believe this plugin should be updated to either support it alongside the deprecated eslintrc config, or switch to the new format fully.
For the reference, in the meanwhile, one can "manually" craft the config with something like:
import defineConfig from "@antfu/eslint-config" import vuePug from "eslint-plugin-vue-pug" export default defineConfig( { // Use @antfu/eslint-config for the sake of not configuring vue manually. }, { // Combined from eslint-plugin-vue-pug/lib/configs/*.js name: "vue-pug", files: ["**/*.vue"], languageOptions: { parserOptions: { templateTokenizer: { pug: "vue-eslint-parser-template-tokenizer-pug" }, }, }, plugins: { "vue-pug": vuePug, }, rules: { // base "vue/component-name-in-template-casing": "off", "vue/html-self-closing": "off", "vue/html-end-tags": "off", "vue/html-indent": "off", "vue/multiline-html-element-content-newline": "off", "vue/singleline-html-element-content-newline": "off", // vue3-essential "vue-pug/no-parsing-error": "error", // vue3-strongly-recommended "vue-pug/no-pug-control-flow": "warn", }, }, )
The text was updated successfully, but these errors were encountered:
I swear I searched for "flat" before submitting the issue...but somehow I overlooked #26.
Sorry, something went wrong.
No branches or pull requests
The eslint flat config is the new recommended approach.
I believe this plugin should be updated to either support it alongside the deprecated eslintrc config, or switch to the new format fully.
For the reference, in the meanwhile, one can "manually" craft the config with something like:
The text was updated successfully, but these errors were encountered: