aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-06 18:23:50 +0800
committerFabio Berger <me@fabioberger.com>2018-06-06 18:23:50 +0800
commitfe437da7517b4ea8e308a7210a34e66b715d5c78 (patch)
treed18263890847ce2359e374096935a745f24c2f2f
parent129876d1be728e967e8b10a0eabbc3f2d08374f6 (diff)
downloaddexon-sol-tools-fe437da7517b4ea8e308a7210a34e66b715d5c78.tar
dexon-sol-tools-fe437da7517b4ea8e308a7210a34e66b715d5c78.tar.gz
dexon-sol-tools-fe437da7517b4ea8e308a7210a34e66b715d5c78.tar.bz2
dexon-sol-tools-fe437da7517b4ea8e308a7210a34e66b715d5c78.tar.lz
dexon-sol-tools-fe437da7517b4ea8e308a7210a34e66b715d5c78.tar.xz
dexon-sol-tools-fe437da7517b4ea8e308a7210a34e66b715d5c78.tar.zst
dexon-sol-tools-fe437da7517b4ea8e308a7210a34e66b715d5c78.zip
Exclude generate contract wrappers from tslint
-rw-r--r--packages/0x.js/package.json2
-rw-r--r--packages/fill-scenarios/package.json2
-rw-r--r--packages/metacoin/package.json2
-rw-r--r--packages/migrations/package.json2
-rw-r--r--packages/order-utils/package.json2
-rw-r--r--packages/order-watcher/package.json2
6 files changed, 6 insertions, 6 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 1324a73d1..439fdddb7 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -19,7 +19,7 @@
"prebuild": "run-s clean generate_contract_wrappers",
"build": "run-p build:umd:prod build:commonjs; exit 0;",
"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/generated/**/*",
"test:circleci": "run-s test:coverage",
"test": "run-s clean test:commonjs",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
diff --git a/packages/fill-scenarios/package.json b/packages/fill-scenarios/package.json
index d0d3d9ec4..4a1724971 100644
--- a/packages/fill-scenarios/package.json
+++ b/packages/fill-scenarios/package.json
@@ -10,7 +10,7 @@
"generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers && prettier --write 'src/generated_contract_wrappers/**.ts'",
"build": "tsc && copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/compact_artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts src/generated_contract_wrappers",
- "lint": "tslint --project .",
+ "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/*",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
},
"license": "Apache-2.0",
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json
index a85bf8f77..c8d88c9da 100644
--- a/packages/metacoin/package.json
+++ b/packages/metacoin/package.json
@@ -8,7 +8,7 @@
"description": "Example solidity project using 0x dev tools",
"scripts": {
"watch": "tsc -w",
- "lint": "tslint --project .",
+ "lint": "tslint --project . --exclude **/src/contract_wrappers/**/*",
"clean": "shx rm -rf lib artifacts src/contract_wrappers",
"prebuild": "run-s clean compile generate_contract_wrappers copy_artifacts",
"copy_artifacts": "copyfiles './artifacts/**/*' './contracts/**/*' ./lib",
diff --git a/packages/migrations/package.json b/packages/migrations/package.json
index 8c4cd915d..09e3ffad1 100644
--- a/packages/migrations/package.json
+++ b/packages/migrations/package.json
@@ -13,7 +13,7 @@
"copy_artifacts": "copyfiles 'artifacts/**/*' ./lib",
"build": "tsc",
"clean": "shx rm -rf lib src/contract_wrappers",
- "lint": "tslint --project .",
+ "lint": "tslint --project . --exclude **/src/v2/contract_wrappers/**/* --exclude **/src/v1/contract_wrappers/**/*",
"migrate:v1": "run-s build compile:v1 script:migrate:v1",
"migrate:v2": "run-s build compile:v2 script:migrate:v2",
"script:migrate:v1": "node ./lib/migrate.js --contracts-version 1.0.0",
diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json
index 2d7e7ba66..bce11461b 100644
--- a/packages/order-utils/package.json
+++ b/packages/order-utils/package.json
@@ -20,7 +20,7 @@
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"clean": "shx rm -rf lib scripts lib/src/artifacts src/generated_contract_wrappers",
- "lint": "tslint --project .",
+ "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/*",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "node scripts/stage_docs.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
diff --git a/packages/order-watcher/package.json b/packages/order-watcher/package.json
index fcc40d56d..d2a13c4dc 100644
--- a/packages/order-watcher/package.json
+++ b/packages/order-watcher/package.json
@@ -15,7 +15,7 @@
"watch": "tsc -w",
"prebuild": "run-s clean generate_contract_wrappers",
"generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers && prettier --write 'src/generated_contract_wrappers/**.ts'",
- "lint": "tslint --project .",
+ "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/*",
"test:circleci": "run-s test:coverage",
"test": "run-s clean build run_mocha",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",