chore(dev): disallow eslint warning (#3541)

This commit is contained in:
三咲智子
2021-09-22 01:58:17 +08:00
committed by GitHub
parent 426a1814d0
commit 0ca6853c18

View File

@@ -26,7 +26,7 @@
"build:tokens": "cd packages/tokens && yarn clean && yarn build",
"build:full-bundle": "esno build/full-bundle.ts",
"format": "prettier --write .",
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx && prettier --check .",
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --max-warnings 0 && prettier --check .",
"lint:fix": "eslint --fix . --ext .vue,.js,.ts,.jsx,.tsx && prettier --write .",
"docs:dev": "if [ ! -d \"dist/element-plus\" ]; then sh scripts/build.sh; fi && yarn docs:gen-locale && cd docs && yarn dev",
"docs:build": "cd docs && yarn build",