diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-07 02:10:06 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-07 02:10:06 +0800 |
commit | d97184880ceac6215ce50916a29f4cb01bbfc63f (patch) | |
tree | 14752e743a9e6e38300c3d85c002aeb6ec09e4f6 /packages/contract-wrappers | |
parent | 037912ccab9f4692b32260fa5548963956efe1c9 (diff) | |
download | dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.gz dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.bz2 dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.lz dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.xz dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.tar.zst dexon-sol-tools-d97184880ceac6215ce50916a29f4cb01bbfc63f.zip |
Use CLI for exclude
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r-- | packages/contract-wrappers/package.json | 2 | ||||
-rw-r--r-- | packages/contract-wrappers/tslint.json | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index d5ec86fc6..de50fa305 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -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", diff --git a/packages/contract-wrappers/tslint.json b/packages/contract-wrappers/tslint.json index 1b88c370c..ffaefe83a 100644 --- a/packages/contract-wrappers/tslint.json +++ b/packages/contract-wrappers/tslint.json @@ -1,6 +1,3 @@ { - "extends": ["@0xproject/tslint-config"], - "linterOptions": { - "exclude": ["src/contract_wrappers/generated/*"] - } + "extends": ["@0xproject/tslint-config"] } |