Skip to content

Commit

Permalink
tslint variable name definition extended
Browse files Browse the repository at this point in the history
  • Loading branch information
b091 committed Mar 29, 2016
1 parent 3c857f0 commit 1569e73
Showing 1 changed file with 47 additions and 19 deletions.
66 changes: 47 additions & 19 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
{
"rules": {
"class-name": true,
"comment-format": [true,
"comment-format": [
true,
"check-space",
"check-lowercase"
],
"curly": true,
"eofline": true,
"indent": [true, 2],
"indent": [
true,
2
],
"interface-name": false,
"jsdoc-format": true,
"label-position": true,
"label-undefined": true,
"max-line-length": [true, 180],
"member-ordering": [true,
"max-line-length": [
true,
180
],
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-arg": true,
"no-bitwise": true,
"no-console": [true,
"no-console": [
true,
"debug",
"info",
"time",
Expand All @@ -40,37 +49,56 @@
"no-unused-variable": true,
"no-unreachable": true,
"no-var-requires": true,
"one-line": [true,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"quotemark": [true, "double"],
"quotemark": [
true,
"double"
],
"radix": true,
"semicolon": true,
"switch-default": true,
"triple-equals": [true, "allow-null-check"],
"typedef": [true,
"triple-equals": [
true,
"allow-null-check"
],
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"variable-declaration",
"member-variable-declaration"
],
"typedef-whitespace": [true, {
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}],
"use-strict": [false,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"use-strict": [
false,
"check-module",
"check-function"
],
"variable-name": true,
"whitespace": [true,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-trailing-underscore"
],
"whitespace": [
true,
"check-decl",
"check-branch",
"check-operator",
Expand Down

0 comments on commit 1569e73

Please sign in to comment.