mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-09 13:40:06 +00:00
initial commit
This commit is contained in:
8
lint-staged.config.js
Normal file
8
lint-staged.config.js
Normal file
@@ -0,0 +1,8 @@
|
||||
module.exports = {
|
||||
'*.{js,jsx,ts,tsx}': ['eslint --fix', 'prettier --write'],
|
||||
'{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': ['prettier --write--parser json'],
|
||||
'package.json': ['prettier --write'],
|
||||
'*.vue': ['prettier --write', 'stylelint --fix', 'git add .'],
|
||||
'*.{scss,less,styl,css,html}': ['stylelint --fix', 'prettier --write', 'git add .'],
|
||||
'*.md': ['prettier --write'],
|
||||
};
|
Reference in New Issue
Block a user