Skip to content

Commit

Permalink
Update tslint and @types/node dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Oct 27, 2017
1 parent 103933d commit d0d7c62
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,7 +23,7 @@ In `tslint.json`:
}
```

**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`.

### Rules

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -37,11 +37,11 @@
},
"homepage": "https://github.com/blakeembrey/tslint-config-standard",
"devDependencies": {
"@types/node": "^8.0.11",
"@types/node": "^8.0.47",
"blue-tape": "^1.0.0",
"standard": "^10.0.0",
"tap-spec": "^4.1.1",
"tslint": "^5.5.0",
"tslint": "^5.8.0",
"typescript": "^2.3.4"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Expand Up @@ -5,7 +5,7 @@ var test = require('blue-tape')

var OUT_FILENAME = path.join(__dirname, 'rules.out')
var TSLINT_BIN = require.resolve('tslint/bin/tslint')
var TSLINT_CMD = 'node ' + TSLINT_BIN + ' --config ../tslint.js --project tsconfig.json --type-check "rules/**/*.ts"'
var TSLINT_CMD = 'node ' + TSLINT_BIN + ' --config ../tslint.js --project tsconfig.json "rules/**/*.ts"'

test('tslint standard', function (t) {
exec(TSLINT_CMD, { cwd: __dirname }, function (err, stdout, stderr) {
Expand Down
6 changes: 3 additions & 3 deletions test/rules.out
@@ -1,15 +1,15 @@
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/import-spacing.ts[1, 7]: A space is required after '{'
ERROR: /rules/import-spacing.ts[1, 22]: A space is required before '}'
ERROR: /rules/import-spacing.ts[2, 1]: All imports are unused.
ERROR: /rules/import-spacing.ts[2, 8]: A space is required after '{'
ERROR: /rules/import-spacing.ts[2, 17]: A space is required before '}'
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-inner-declarations.ts[4, 12]: 'test' is declared but never used.
ERROR: /rules/no-inner-declarations.ts[4, 20]: block is empty
ERROR: /rules/no-multi-spaces.ts[1, 22]: Multiple spaces found before 'true'.
ERROR: /rules/object-destruct-spacing.ts[1, 13]: A space is required after '{'
ERROR: /rules/object-destruct-spacing.ts[1, 19]: A space is required before '}'
Expand Down

0 comments on commit d0d7c62

Please sign in to comment.