lintstagedrc.js 401 B

12345678910
  1. module.exports = {
  2. "*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"],
  3. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  4. "prettier --write--parser json"
  5. ],
  6. "package.json": ["prettier --write"],
  7. "*.vue": ["eslint --fix", "prettier --write", "stylelint --fix"],
  8. "*.{vue,css,scss,postcss,less}": ["stylelint --fix", "prettier --write"],
  9. "*.md": ["prettier --write"]
  10. };