aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/package.json2
-rw-r--r--packages/contracts/tslint.json3
2 files changed, 1 insertions, 4 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 3b9fda227..2cd87431c 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -23,7 +23,7 @@
"clean": "shx rm -rf lib src/contract_wrappers/generated",
"generate_contract_wrappers":
"abi-gen --abis ${npm_package_config_abis} --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/**/*",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",
"coverage:report:lcov": "istanbul report lcov",
diff --git a/packages/contracts/tslint.json b/packages/contracts/tslint.json
index 216da0653..1ab924e47 100644
--- a/packages/contracts/tslint.json
+++ b/packages/contracts/tslint.json
@@ -2,8 +2,5 @@
"extends": ["@0xproject/tslint-config"],
"rules": {
"custom-no-magic-numbers": false
- },
- "linterOptions": {
- "exclude": ["src/contract_wrappers/generated/*"]
}
}