Use CLI for exclude
This commit is contained in:
@@ -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",
|
||||
|
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"extends": ["@0xproject/tslint-config"],
|
||||
"linterOptions": {
|
||||
"exclude": ["src/contract_wrappers/generated/*"]
|
||||
}
|
||||
"extends": ["@0xproject/tslint-config"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user