mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-05 19:41:44 +08:00
10 lines
385 B
JavaScript
10 lines
385 B
JavaScript
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'],
|
|
'*.{scss,less,styl,css,html}': ['prettier --write'],
|
|
'*.md': ['prettier --write'],
|
|
'*.hbs': ['prettier --write'],
|
|
};
|