mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2026-04-09 19:14:18 +00:00
feat: upgrade to commitlint v19
BREAKING CHANGE: `commitlint.config.js` is not supported anymore, please use `.mjs` extension
This commit is contained in:
parent
9763196e10
commit
732f0ad7d5
24 changed files with 2431 additions and 13465 deletions
5
.lintstagedrc.mjs
Normal file
5
.lintstagedrc.mjs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
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'],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue