tslint-config-standard
Advanced tools
Comparing version 6.0.1 to 7.0.0
{ | ||
"name": "tslint-config-standard", | ||
"version": "6.0.1", | ||
"version": "7.0.0", | ||
"description": "A TSLint config for JavaScript Standard Style", | ||
@@ -40,12 +40,12 @@ "main": "tslint.js", | ||
"devDependencies": { | ||
"@types/node": "^7.0.22", | ||
"@types/node": "^8.0.47", | ||
"blue-tape": "^1.0.0", | ||
"standard": "^10.0.0", | ||
"tap-spec": "^4.1.1", | ||
"tslint": "^5.4.2", | ||
"tslint": "^5.8.0", | ||
"typescript": "^2.3.4" | ||
}, | ||
"dependencies": { | ||
"tslint-eslint-rules": "^4.0.0" | ||
"tslint-eslint-rules": "^4.1.1" | ||
} | ||
} |
@@ -13,3 +13,3 @@ # TSLint Config Standard | ||
```sh | ||
npm install tslint-config-standard --save | ||
npm install tslint-config-standard --save-dev | ||
``` | ||
@@ -27,3 +27,3 @@ | ||
**P.S.** Some TSLint rules may require the use of `--type-check` (and `--project`). | ||
**P.S.** Some TSLint rules may require the use of `--project`. | ||
@@ -30,0 +30,0 @@ ### Rules |
@@ -5,3 +5,2 @@ module.exports = { | ||
// TSLint rules. | ||
'member-access': false, | ||
'member-ordering': [ | ||
@@ -50,2 +49,3 @@ true, | ||
'no-conditional-assignment': true, | ||
'no-duplicate-imports': true, | ||
'no-duplicate-variable': true, | ||
@@ -55,2 +55,3 @@ 'no-empty': true, | ||
'no-reference-import': true, | ||
'no-return-await': true, | ||
'no-switch-case-fall-through': true, | ||
@@ -63,2 +64,3 @@ 'no-unused-expression': [true, 'allow-fast-null-checks', 'allow-tagged-template'], | ||
'return-undefined': true, | ||
'space-within-parens': [true, 0], | ||
'triple-equals': [ | ||
@@ -98,2 +100,3 @@ true, | ||
'no-unnecessary-qualifier': true, | ||
'no-unnecessary-type-assertion': true, | ||
'one-line': [ | ||
@@ -133,5 +136,7 @@ true, | ||
'check-operator', | ||
'check-module', | ||
// 'check-module', | ||
'check-rest-spread', | ||
'check-type', | ||
'check-typecast', | ||
'check-type-operator', | ||
'check-preblock' | ||
@@ -156,5 +161,6 @@ ], | ||
'no-invalid-regexp': true, | ||
'no-irregular-whitespace': true, | ||
'ter-no-irregular-whitespace': true, | ||
'no-regex-spaces': true, | ||
'no-sparse-arrays': true, | ||
'ter-no-sparse-arrays': true, | ||
'ter-func-call-spacing': [true, 'never'], | ||
'no-unexpected-multiline': true, | ||
@@ -184,4 +190,5 @@ 'valid-typeof': true, | ||
} | ||
] | ||
], | ||
'object-curly-spacing': [true, 'always'] | ||
} | ||
} |
7426
186
Updatedtslint-eslint-rules@^4.1.1