From b7cff5d6a24165c410802787b5dd03669e0b2a0f Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Thu, 10 Mar 2022 20:16:17 +0800 Subject: [PATCH] chore: update ignore pattern --- package.json | 2 +- packages/basic/index.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 15c4c44..80fda21 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "private": true, "scripts": { "preinstall": "npx only-allow pnpm", - "lint": "npx eslint --ext .js,.json,.vue,.md .", + "lint": "eslint .", "release": "lerna publish --conventional-commits" }, "devDependencies": { diff --git a/packages/basic/index.js b/packages/basic/index.js index 901f5ab..ec41cad 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -20,6 +20,8 @@ module.exports = { 'public', 'temp', '!.vitepress', + '!.github', + '!.vscode', ], plugins: [ 'html', @@ -266,5 +268,8 @@ module.exports = { allowSeparatedGroups: false, }, ], + + // yml + 'yml/quotes': ['error', { prefer: 'single', avoidEscape: false }], }, }