mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
add tslint
This commit is contained in:
parent
8e264f9cc1
commit
7828e373c8
@ -129,7 +129,8 @@
|
||||
"deploy": "tnpm run clean && tnpm i && tnpm run just-deploy",
|
||||
"just-deploy": "tnpm run pre-deploy && bisheng gh-pages -c ./site/bisheng.config.js",
|
||||
"lint": "npm run srclint && npm run demolint && npm run lesshint",
|
||||
"srclint": "RUN_ENV=SRC eslint components test site scripts ./*.js --ext '.js,.jsx'",
|
||||
"srclint": "RUN_ENV=SRC eslint test site scripts ./*.js --ext '.js,.jsx'",
|
||||
"ts-lint": "antd-tools run ts-lint",
|
||||
"demolint": "RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'",
|
||||
"lesshint": "lesshint components -r scripts/lesshint-report.js",
|
||||
"eslint-fix": "eslint --fix components test site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
|
||||
|
Loading…
Reference in New Issue
Block a user