feat: add ignore list for lint-staged

This commit is contained in:
Anthony Fu 2023-02-24 23:56:13 +01:00
parent 37a4d762c3
commit 4167a78419

View File

@ -28,6 +28,17 @@ module.exports = {
'pnpm-lock.yaml', 'pnpm-lock.yaml',
'yarn.lock', 'yarn.lock',
'__snapshots__', '__snapshots__',
// ignore for in lint-staged
'*.css',
'*.png',
'*.ico',
'*.toml',
'*.patch',
'*.txt',
'*.crt',
'*.key',
'Dockerfile',
// force include
'!.github', '!.github',
'!.vitepress', '!.vitepress',
'!.vscode', '!.vscode',