Lint staged will only handle domain specific files

This commit is contained in:
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

View File

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