fix(create): write the lint-staged config to its own file (#6303)

Closes #6298
This commit is contained in:
HexPandaa
2021-02-22 07:19:52 +01:00
committed by GitHub
parent 7b5212feb1
commit c604182458

View File

@@ -56,6 +56,13 @@ const defaultConfigTransforms = {
file: {
lines: ['.browserslistrc']
}
}),
'lint-staged': new ConfigTransform({
file: {
js: ['lint-staged.config.js'],
json: ['.lintstagedrc', '.lintstagedrc.json'],
yaml: ['.lintstagedrc.yaml', '.lintstagedrc.yml']
}
})
}