chore: update ignore pattern

This commit is contained in:
Anthony Fu 2022-03-10 20:16:17 +08:00
parent e54ac17e09
commit b7cff5d6a2
2 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"lint": "npx eslint --ext .js,.json,.vue,.md .", "lint": "eslint .",
"release": "lerna publish --conventional-commits" "release": "lerna publish --conventional-commits"
}, },
"devDependencies": { "devDependencies": {

View File

@ -20,6 +20,8 @@ module.exports = {
'public', 'public',
'temp', 'temp',
'!.vitepress', '!.vitepress',
'!.github',
'!.vscode',
], ],
plugins: [ plugins: [
'html', 'html',
@ -266,5 +268,8 @@ module.exports = {
allowSeparatedGroups: false, allowSeparatedGroups: false,
}, },
], ],
// yml
'yml/quotes': ['error', { prefer: 'single', avoidEscape: false }],
}, },
} }