Created
March 23, 2017 05:31
-
-
Save hafeez-syed/7195aa702e2519a332e2d412f9739495 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
/* | |
* Possible values: | |
* - the name of a built-in config | |
* - the name of an NPM module which has a "main" file that exports a config object | |
* - a relative path to a JSON file | |
*/ | |
"extends": "tslint:latest", | |
"rules": { | |
"class-name": true, | |
"comment-format": [true, "check-space"], | |
"indent": [true, "spaces"], | |
"no-console": [false, "log", "error"], | |
"no-duplicate-variable": true, | |
"no-eval": true, | |
"no-internal-module": true, | |
"no-trailing-whitespace": true, | |
"no-var-keyword": true, | |
"one-line": [true, "check-open-brace", "check-whitespace"], | |
"quotemark": [true, "single"], | |
"semicolon": false, | |
"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" | |
] | |
}, | |
"jsRules": { | |
"indent": [true, "spaces"], | |
"no-duplicate-variable": true, | |
"no-eval": true, | |
"no-trailing-whitespace": true, | |
"one-line": [true, "check-open-brace", "check-whitespace"], | |
"quotemark": [true, "single"], | |
"semicolon": true, | |
"triple-equals": [true, "allow-null-check"], | |
"variable-name": [true, "ban-keywords"], | |
"whitespace": [true, | |
"check-branch", | |
"check-decl", | |
"check-operator", | |
"check-separator", | |
"check-type" | |
] | |
}, | |
"rulesDirectory": [ | |
/* | |
* A list of relative or absolute paths to directories that contain custom rules. | |
* See the Custom Rules documentation below for more details. | |
*/ | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment