Lint staged will only handle domain specific files

main
Shaun Dern 2020-04-03 12:13:36 +01:00
parent 8dac85756c
commit 73b2caa838
No known key found for this signature in database
GPG Key ID: 19E354FC9294F450
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
'use strict'
module.exports = {
'*.{js,jsx,ts,tsx}': ['eslint --fix'],
'*.{md,json,html,yml,css,sass,scss,rb,rake,graphql}': ['prettier --write'],
'*.{js,ts}': ['eslint --fix'],
'*.{md,json,html,yml}': ['prettier --write'],
}