aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tslint-config
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-16 01:26:45 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-16 01:44:13 +0800
commitc8e52882ca556ea06696a56e312f69284f99aa29 (patch)
tree38a2de1b15985590b879f71fc17cbee35a17ba78 /packages/tslint-config
parent818a50a3fb0b78992919e0366c73b36cbffa69b0 (diff)
downloaddexon-0x-contracts-c8e52882ca556ea06696a56e312f69284f99aa29.tar.gz
dexon-0x-contracts-c8e52882ca556ea06696a56e312f69284f99aa29.tar.zst
dexon-0x-contracts-c8e52882ca556ea06696a56e312f69284f99aa29.zip
Fix redundant spaces
Diffstat (limited to 'packages/tslint-config')
-rw-r--r--packages/tslint-config/package.json7
-rw-r--r--packages/tslint-config/tslint.json4
2 files changed, 7 insertions, 4 deletions
diff --git a/packages/tslint-config/package.json b/packages/tslint-config/package.json
index 3b320e774..888ff675a 100644
--- a/packages/tslint-config/package.json
+++ b/packages/tslint-config/package.json
@@ -4,9 +4,9 @@
"description": "Lint rules related to 0xProject for TSLint",
"main": "tslint.json",
"scripts": {
- "build": "tsc",
- "clean": "shx rm -rf lib",
- "lint": "tslint --project . 'rules/**/*.ts'"
+ "build": "tsc",
+ "clean": "shx rm -rf lib",
+ "lint": "tslint --project . 'rules/**/*.ts'"
},
"files": [
"tslint.js",
@@ -37,6 +37,7 @@
"@types/lodash": "^4.14.86",
"shx": "^0.2.2",
"tslint": "5.8.0",
+ "tslint-eslint-rules": "^4.1.1",
"typescript": "~2.6.1"
},
"dependencies": {
diff --git a/packages/tslint-config/tslint.json b/packages/tslint-config/tslint.json
index 91185bddb..acb6876c3 100644
--- a/packages/tslint-config/tslint.json
+++ b/packages/tslint-config/tslint.json
@@ -1,7 +1,8 @@
{
"extends": [
"tslint:latest",
- "tslint-react"
+ "tslint-react",
+ "tslint-eslint-rules"
],
"rules": {
"adjacent-overload-signatures": true,
@@ -54,6 +55,7 @@
"no-unused-variable": [true, {"ignore-pattern": "^_\\d*"}],
"no-implicit-dependencies": [true, "dev"],
"number-literal-format": true,
+ "object-curly-spacing": [true, "never"],
"object-literal-sort-keys": false,
"ordered-imports": [
true,