5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +00:00
commitlint-github-action/.lintstagedrc.js
Wagner Santos 51913c302c style: add eslint to the project
The config is based on airbnb shared config, with some rules that work better with the project.
2021-02-18 14:43:25 -03:00

5 lines
220 B
JavaScript

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