5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +00:00

chore: fix invalid lintstaged configuration (#102)

This commit is contained in:
Jeroen de Bruijn 2021-02-25 13:43:32 +01:00 committed by GitHub
parent 657daf298c
commit dbaa380ea6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
module.exports = { module.exports = {
'*.{ts,tsx,vue,css,less,scss,html,htm,md,markdown}': 'prettier --write', '*.{ts,tsx,vue,css,less,scss,html,htm,md,markdown}': 'prettier --write',
'*.{json,yml,yaml}': ['prettier --write', () => 'npm run test'], '*.{json,yml,yaml}': ['prettier --write', () => 'npm run test'],
'*.{js,jsx}': ['eslint --fix', () => 'npm run test']], '*.{js,jsx}': ['eslint --fix', () => 'npm run test'],
} }