pug templates not getting lint
See original GitHub issue- ESLint Version: 4.14.0
- eslint-plugin-vue Version: 4.0.0-beta.4
- Node Version: 9.2.0
module.exports = {
root: true,
parserOptions: {
'parser': 'babel-eslint',
'ecmaVersion': 2017,
'ecmaFeatures': {
'experimentalObjectRestSpread': true
},
'sourceType': 'module'
},
env: {
browser: true,
es6: true
},
'extends': [
'google',
'plugin:vue/recommended'
],
plugins: [ ],
settings: {
'import/resolver': {
webpack: {
config: 'build/webpack.base.conf.js'
}
}
},
globals: { 'Vue': true },
rules: { }
}
none of rules getting checked on pug templates
<template lang="pug">
div
ol(v-for="i in 5")
li foobar
</template>
it works fine on html templates
<template>
<div>
<ol v-for="i in 5">
<li>item</li>
</ol>
</div>
</template>
pug templates not getting lint
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:8 (4 by maintainers)
Top Results From Across the Web
stylelint - Lint styles into Pug files
I want to lint CSS into Pug style. tag raw content (CSS) and style attribute content (CSS). Looks like Stylelint is a right...
Read more >pug-lint | Yarn - Package Manager
pug -lint. An unopinionated and configurable linter and style checker for Pug (formerly Jade). build status coverage status dependency status npm ...
Read more >Migrating to Pug 2
Simply remove - and your code should work again. Removed API ¶. These exported properties and compilation options have been removed. In your...
Read more >Pug Template - Flamingo Documentations
Templating¶. One feature of pug.js is the possibility to use arbitrary JavaScript in cases where the template syntax does not provide the some...
Read more >vue-eslint-parser-template-tokenizer-pug
This is an internal library. If you just want to lint your pug templates, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, just wondering if there are any plans for pug support?
Thank you for the report.
Unfortunately, this plugin has not supported pug yet. I have a plan to lint pug in future, but it’s not soon.