Created
May 18, 2016 23:09
-
-
Save tomitrescak/8866b3020d944afa0bd8b3ce7a626e3f to your computer and use it in GitHub Desktop.
Tslint config for Meteor projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"rules": { | |
"class-name": true, | |
"comment-format": [true, "check-space"], | |
"curly": true, | |
"eofline": true, | |
"forin": false, | |
"indent": [true, "spaces"], | |
"label-position": true, | |
"label-undefined": true, | |
"max-line-length": [false, 140], | |
"member-access": false, | |
"member-ordering": [true, | |
"public-before-private", | |
"static-before-instance", | |
"variables-before-functions" | |
], | |
"no-arg": true, | |
"no-bitwise": true, | |
"no-console": [true, | |
"debug", | |
"info", | |
"time", | |
"timeEnd", | |
"trace" | |
], | |
"no-construct": true, | |
"no-debugger": true, | |
"no-duplicate-key": true, | |
"no-duplicate-variable": true, | |
"no-empty": true, | |
"no-eval": true, | |
"no-inferrable-types": true, | |
"no-shadowed-variable": true, | |
"no-string-literal": false, | |
"no-switch-case-fall-through": true, | |
"no-trailing-whitespace": true, | |
"no-unused-expression": true, | |
"no-unused-variable": true, | |
"no-unreachable": true, | |
"no-use-before-declare": true, | |
"no-var-keyword": true, | |
"object-literal-sort-keys": false, | |
"one-line": [true, | |
"check-open-brace", | |
"check-catch", | |
"check-else", | |
"check-whitespace" | |
], | |
"quotemark": [true, "single", "jsx-double", "avoid-escape"], | |
"radix": true, | |
"semicolon": true, | |
"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": false, | |
"whitespace": [true, | |
"check-branch", | |
"check-decl", | |
"check-operator", | |
"check-separator", | |
"check-type" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment