diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-13 23:55:35 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-13 23:55:35 +0800 |
commit | 67fbffc964a12c56c06e3262c9afdb1d2d01559c (patch) | |
tree | 62a61b825813180095c514886079c2af07e890f1 | |
parent | c3b4359e8751a9c98a6081659a364fc29e69653d (diff) | |
download | dexon-0x-contracts-67fbffc964a12c56c06e3262c9afdb1d2d01559c.tar.gz dexon-0x-contracts-67fbffc964a12c56c06e3262c9afdb1d2d01559c.tar.zst dexon-0x-contracts-67fbffc964a12c56c06e3262c9afdb1d2d01559c.zip |
Re-add linter to monorepo-scripts but with tslint-config dep at earlier version to avoid cyclical dependency
-rw-r--r-- | packages/monorepo-scripts/package.json | 2 | ||||
-rw-r--r-- | packages/monorepo-scripts/tslint.json | 3 | ||||
-rw-r--r-- | yarn.lock | 7 |
3 files changed, 12 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 42b9d6c55..e0ca3cd1f 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -20,7 +20,9 @@ "url": "https://github.com/0xProject/0x-monorepo/issues" }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/monorepo-scripts/README.md", + "comment": "// We purposefully use an older version of tslint-config here to avoid creating an import cycle", "devDependencies": { + "@0xproject/tslint-config": "0.4.8", "@types/glob": "^5.0.33", "@types/node": "^8.0.53", "shx": "^0.2.2", diff --git a/packages/monorepo-scripts/tslint.json b/packages/monorepo-scripts/tslint.json new file mode 100644 index 000000000..ffaefe83a --- /dev/null +++ b/packages/monorepo-scripts/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": ["@0xproject/tslint-config"] +} @@ -6,6 +6,13 @@ version "0.3.9" resolved "https://registry.yarnpkg.com/8fold-marked/-/8fold-marked-0.3.9.tgz#bb89c645612f8ccfaffac1ca6e3c11f168c9cf59" +"@0xproject/tslint-config@0.4.8": + version "0.4.8" + resolved "https://registry.yarnpkg.com/@0xproject/tslint-config/-/tslint-config-0.4.8.tgz#5a3dfb1fc94e17752184137b452c5b0b3287d822" + dependencies: + lodash "^4.17.4" + tslint-react "^3.2.0" + "@ledgerhq/hw-app-eth@^4.3.0": version "4.3.0" resolved "https://registry.yarnpkg.com/@ledgerhq/hw-app-eth/-/hw-app-eth-4.3.0.tgz#5f365a3560cd78e8cd711737ec56249390cbf5e5" |