From d97184880ceac6215ce50916a29f4cb01bbfc63f Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 6 Jun 2018 11:10:06 -0700 Subject: Use CLI for exclude --- packages/contracts/package.json | 2 +- packages/contracts/tslint.json | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'packages/contracts') 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/*"] } } -- cgit v1.2.3