tslint-config-standard
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "tslint-config-standard", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "A TSLint config for JavaScript Standard Style", | ||
@@ -13,4 +13,5 @@ "main": "tslint.js", | ||
"lint": "standard", | ||
"test-spec": "blue-tape test/index.js | tap-spec", | ||
"test": "npm run lint && npm run test-spec" | ||
"test:gen": "GENERATE_ASSETS=true blue-tape test/index.js", | ||
"test:spec": "blue-tape test/index.js | tap-spec", | ||
"test": "npm run lint && npm run test:spec" | ||
}, | ||
@@ -40,11 +41,11 @@ "repository": { | ||
"devDependencies": { | ||
"blue-tape": "^0.2.0", | ||
"standard": "^7.0.1", | ||
"blue-tape": "^1.0.0", | ||
"standard": "^8.1.0", | ||
"tap-spec": "^4.1.1", | ||
"tslint": "^3.10.2", | ||
"typescript": "^1.8.10" | ||
"tslint": "^3.15.1", | ||
"typescript": "^2.0.3" | ||
}, | ||
"dependencies": { | ||
"tslint-eslint-rules": "^1.3.0" | ||
"tslint-eslint-rules": "^1.6.0" | ||
} | ||
} |
@@ -54,3 +54,2 @@ var path = require('path') | ||
'no-eval': true, | ||
// 'no-string-literal': true, | ||
'no-switch-case-fall-through': true, | ||
@@ -134,7 +133,12 @@ 'no-unreachable': true, | ||
// TSLint ESLint rules. | ||
'no-constant-condition': true, | ||
'no-constant-condition': [ | ||
true, | ||
{ | ||
checkLoops: false | ||
} | ||
], | ||
'no-control-regex': true, | ||
'no-duplicate-case': true, | ||
'no-empty-character-class': true, | ||
// 'no-ex-assign': true, | ||
'no-ex-assign': true, | ||
'no-extra-boolean-cast': true, | ||
@@ -145,3 +149,3 @@ 'no-inner-declarations': [ | ||
], | ||
// 'no-invalid-regex': true, | ||
'no-invalid-regexp': true, | ||
'no-irregular-whitespace': true, | ||
@@ -174,3 +178,3 @@ 'no-regex-spaces': true, | ||
// 'no-lone-blocks': true, | ||
// 'no-multi-spaces': true, | ||
'no-multi-spaces': true, | ||
// 'no-multi-str': true, | ||
@@ -186,2 +190,3 @@ // 'no-new': true, | ||
// ], | ||
// 'no-self-assign': true, | ||
// 'no-self-compare': true, | ||
@@ -205,6 +210,6 @@ // 'no-sequences': true, | ||
// 'no-undef-init': true, | ||
// 'handle-callback-err': [ | ||
// true, | ||
// '^(err|error)$' | ||
// ], | ||
'handle-callback-err': [ | ||
true, | ||
'^(err|error)$' | ||
], | ||
// 'no-new-require': true, | ||
@@ -211,0 +216,0 @@ // 'no-path-concat': true, |
10775
352
Updatedtslint-eslint-rules@^1.6.0