Skip to content

Instantly share code, notes, and snippets.

@yoichiro-manabe
Last active July 25, 2016 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoichiro-manabe/c85e3e07f34ac1517780d0aaa482b7a1 to your computer and use it in GitHub Desktop.
Save yoichiro-manabe/c85e3e07f34ac1517780d0aaa482b7a1 to your computer and use it in GitHub Desktop.
use-strictを導入したtslint.config
{
"rules": {
"class-name": true,
"use-strict": [
true,
"check-module",
"check-function"
],
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces"
],
"no-duplicate-variable": true,
"no-eval": true,
"no-internal-module": true,
"no-trailing-whitespace": false,
"no-var-keyword": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"double"
],
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}
@yoichiro-manabe
Copy link
Author

"no-trailing-whitespace" をfalseに変更した。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment