Skip to content

Commit

Permalink
Use local tslint config; simplify editor configuration (#10450)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujinxuan authored and afc163 committed May 9, 2018
1 parent bc4143f commit 832c524
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -193,7 +193,7 @@
"pre-publish": "npm run test-all && node ./scripts/prepub",
"authors": "git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' | grep -v 'gitter.im' | grep -v '.local>' | grep -v 'alibaba-inc.com' | grep -v 'alipay.com' | grep -v 'taobao.com' > AUTHORS.txt",
"lint-staged": "lint-staged",
"lint-staged:ts": "tsc && node node_modules/tslint/bin/tslint -c node_modules/antd-tools/lib/tslint.json",
"lint-staged:ts": "tsc && tslint",
"lint-staged:es": "eslint ./.eslintrc.js ./webpack.config.js",
"lint-staged:demo": "cross-env RUN_ENV=DEMO eslint --ext '.md'"
},
Expand Down
5 changes: 5 additions & 0 deletions tslint.json
@@ -0,0 +1,5 @@
{
"extends": [
"./node_modules/antd-tools/lib/tslint.json"
]
}

0 comments on commit 832c524

Please sign in to comment.