Skip to content

Commit

Permalink
chore: bump tslint and tweak ban-types
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Feb 28, 2017
1 parent d25138a commit 1e55608
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -57,7 +57,7 @@
"shx": "0.2.2",
"standard-version": "4.0.0",
"strip-json-comments-cli": "1.0.1",
"tslint": "4.5.0",
"tslint": "4.5.1",
"tslint-react": "2.4.0",
"typescript": "2.2.1",
"typescript-formatter": "5.0.1",
Expand Down
26 changes: 17 additions & 9 deletions tslint.json
Expand Up @@ -26,7 +26,7 @@
"spaces"
],
"label-position": true,
"linebreak-style":[
"linebreak-style": [
true,
"LF"
],
Expand Down Expand Up @@ -176,23 +176,31 @@
true,
[
"Object",
"Use '{}' instead."
"Avoid using the `Object` type. Did you mean `object`?"
],
[
"String",
"Use 'string' instead."
"Function",
"Avoid using the `Function` type. Prefer a specific function type, like `() => void`."
],
[
"Boolean",
"Avoid using the `Boolean` type. Did you mean `boolean`?"
],
[
"Number",
"Use 'number' instead."
"Avoid using the `Number` type. Did you mean `number`?"
],
[
"Array",
"Use 'type[]' instead."
"String",
"Avoid using the `String` type. Did you mean `string`?"
],
[
"Boolean",
"Use 'boolean' instead."
"Symbol",
"Avoid using the `Symbol` type. Did you mean `symbol`?"
],
[
"Array",
"Avoid using the `Array<T>` type. Use 'type[]' instead."
]
]
}
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Expand Up @@ -1332,7 +1332,7 @@ cross-spawn@^5.0.1:
shebang-command "^1.2.0"
which "^1.2.9"

cross-var@^1.0.2:
cross-var@1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/cross-var/-/cross-var-1.0.2.tgz#e64c447f3de1e6cca6dfe42f2fe3ca41e4b938e8"
dependencies:
Expand Down Expand Up @@ -1946,7 +1946,7 @@ graceful-fs@~3.0.2:
version "1.0.1"
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"

gzip-size-cli@^2.0.0:
gzip-size-cli@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/gzip-size-cli/-/gzip-size-cli-2.0.0.tgz#d0d3dae1b9c6265b7fe99a01c0688eceda28d2f0"
dependencies:
Expand Down Expand Up @@ -3364,7 +3364,7 @@ strip-indent@^1.0.1:
dependencies:
get-stdin "^4.0.1"

strip-json-comments-cli@^1.0.1:
strip-json-comments-cli@1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/strip-json-comments-cli/-/strip-json-comments-cli-1.0.1.tgz#45d973c24bfb6788bc3e6ae9e6dfcbc0bfaebe21"
dependencies:
Expand Down Expand Up @@ -3490,9 +3490,9 @@ tslint-react@2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/tslint-react/-/tslint-react-2.4.0.tgz#82c314f2752c419c6e41d9789587ef42f64261ea"

tslint@4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-4.5.0.tgz#12b384a339d456ee1d3cc665f13f4e759bbe5d64"
tslint@4.5.1:
version "4.5.1"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-4.5.1.tgz#05356871bef23a434906734006fc188336ba824b"
dependencies:
babel-code-frame "^6.20.0"
colors "^1.1.2"
Expand Down

0 comments on commit 1e55608

Please sign in to comment.