Use CLI for exclude

This commit is contained in:
fragosti
2018-06-06 11:10:06 -07:00
parent 037912ccab
commit d97184880c
6 changed files with 5 additions and 14 deletions

View File

@@ -15,7 +15,7 @@
"build": "yarn pre_build && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"pre_build": "run-s generate_contract_wrappers update_test_artifacts update_compact_artifacts",
"generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'",
"lint": "tslint --project .",
"lint": "tslint --project . --exclude **/src/contract_wrappers/**/* --exclude **/lib/**/*",
"test:circleci": "run-s test:coverage",
"test": "yarn run_mocha",
"rebuild_and_test": "run-s build test",

View File

@@ -1,6 +1,3 @@
{
"extends": ["@0xproject/tslint-config"],
"linterOptions": {
"exclude": ["src/contract_wrappers/generated/*"]
}
"extends": ["@0xproject/tslint-config"]
}