Skip to content

Commit 0d1a0dc

Browse files
Add vue-pug ruleset
1 parent 542390f commit 0d1a0dc

File tree

3 files changed

+80
-0
lines changed

3 files changed

+80
-0
lines changed

configs/vue-pug.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import vuePug from 'eslint-plugin-vue-pug'
2+
3+
export default [
4+
...vuePug.configs['flat/recommended'],
5+
]

package-lock.json

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"./browser": "./configs/browser.js",
1111
"./typescript": "./configs/typescript.js",
1212
"./vue": "./configs/vue.js",
13+
"./vue-pug": "./configs/vue-pug.js",
1314
"./vue2": "./configs/vue2.js"
1415
},
1516
"scripts": {
@@ -31,6 +32,7 @@
3132
"@typescript-eslint/parser": "^8.34.1",
3233
"eslint-plugin-tsdoc": "^0.4.0",
3334
"eslint-plugin-vue": "^10.0.0",
35+
"eslint-plugin-vue-pug": "^1.0.0-alpha.3",
3436
"globals": "^16.0.0",
3537
"neostandard": "^0.12.1",
3638
"typescript-eslint": "^8.31.0",

0 commit comments

Comments
 (0)