2023-03-15 09:20:03 +08:00

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'],
};