Skip to content

Commit

Permalink
Update TSLint and add @types/node requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed May 24, 2017
1 parent dfcdb09 commit 250579f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -37,13 +37,16 @@
},
"homepage": "https://github.com/blakeembrey/tslint-config-standard",
"devDependencies": {
"@types/node": "^7.0.22",
"blue-tape": "^1.0.0",
"standard": "^10.0.0",
"tap-spec": "^4.1.1",
"tslint": "^5.0.0",
"typescript": "^2.0.3"
},
"dependencies": {
"tslint-eslint-rules": "^4.0.0"
"tslint": "^5.3.2",
"tslint-eslint-rules": "^4.0.0",
"typescript": "^2.3.3"
}
}
26 changes: 13 additions & 13 deletions test/rules.out
@@ -1,14 +1,14 @@

ERROR: rules/curly.ts[4, 3]: if statements must be braced
ERROR: rules/handle-callback-err.ts[1, 21]: Expected error to be handled
ERROR: rules/import-spacing.ts[2, 1]: All imports are unused.
ERROR: rules/import-spacing.ts[1, 7]: missing whitespace
ERROR: rules/no-constant-condition.ts[1, 5]: unexpected constant condition
ERROR: rules/no-inner-declarations.ts[4, 20]: block is empty
ERROR: rules/no-inner-declarations.ts[4, 12]: 'test' is declared but never used.
ERROR: rules/no-inner-declarations.ts[4, 3]: move function declaration to program root
ERROR: rules/no-multi-spaces.ts[1, 22]: Multiple spaces found before 'true'.
ERROR: rules/semicolon.ts[1, 24]: Unnecessary semicolon
ERROR: rules/ter-arrow-spacing.ts[5, 11]: Multiple spaces found before '=>'.
ERROR: rules/ter-indent.ts[11, 1]: Expected indentation of 2 spaces but found 3.
ERROR: rules/trailing-comma.ts[3, 7]: Unnecessary trailing comma
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/curly.ts[4, 3]: if statements must be braced
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/handle-callback-err.ts[1, 21]: Expected error to be handled
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/import-spacing.ts[2, 1]: All imports are unused.
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/import-spacing.ts[1, 7]: missing whitespace
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/no-constant-condition.ts[1, 5]: unexpected constant condition
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/no-inner-declarations.ts[4, 20]: block is empty
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/no-inner-declarations.ts[4, 12]: 'test' is declared but never used.
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/no-inner-declarations.ts[4, 3]: move function declaration to program root
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/no-multi-spaces.ts[1, 22]: Multiple spaces found before 'true'.
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/semicolon.ts[1, 24]: Unnecessary semicolon
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/ter-arrow-spacing.ts[5, 11]: Multiple spaces found before '=>'.
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/ter-indent.ts[11, 1]: Expected indentation of 2 spaces but found 3.
ERROR: /Users/blakeembrey/Projects/GitHub/blakeembrey/tslint-config-standard/test/rules/trailing-comma.ts[3, 7]: Unnecessary trailing comma

0 comments on commit 250579f

Please sign in to comment.