平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lint-staged.config.cjs 387 B

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