mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +00:00
BREAKING CHANGE: `commitlint.config.js` is not supported anymore, please use `.mjs` extension
5 lines
217 B
JavaScript
5 lines
217 B
JavaScript
export default {
|
|
'*.{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'],
|
|
}
|