Created
November 28, 2017 21:37
-
-
Save rwoody/563ab1e343342bafcf4c0d17fdf7aacc to your computer and use it in GitHub Desktop.
Typescript Tidbits
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
Show hidden characters
{ | |
"rules": { | |
"align": [ | |
false, | |
"parameters", | |
"arguments", | |
"statements" | |
], | |
"ban": false, | |
"class-name": true, | |
"curly": true, | |
"eofline": true, | |
"forin": true, | |
"indent": [ | |
true, | |
"spaces" | |
], | |
"interface-name": false, | |
"jsdoc-format": true, | |
"label-position": true, | |
"max-line-length": [ | |
true, | |
140 | |
], | |
"member-access": true, | |
"member-ordering": [ | |
true, | |
"public-before-private", | |
"static-before-instance", | |
"variables-before-functions" | |
], | |
"no-any": false, | |
"no-arg": true, | |
"no-bitwise": true, | |
"no-conditional-assignment": true, | |
"no-consecutive-blank-lines": false, | |
"no-console": [ | |
true, | |
"log", | |
"debug", | |
"info", | |
"time", | |
"timeEnd", | |
"trace" | |
], | |
"no-construct": true, | |
"no-debugger": true, | |
"no-duplicate-variable": true, | |
"no-empty": true, | |
"no-eval": true, | |
"no-inferrable-types": false, | |
"no-internal-module": true, | |
"no-null-keyword": false, | |
"no-require-imports": false, | |
"no-shadowed-variable": true, | |
"no-switch-case-fall-through": true, | |
"no-trailing-whitespace": true, | |
"no-unused-expression": true, | |
"no-var-keyword": true, | |
"no-var-requires": true, | |
"object-literal-sort-keys": false, | |
"one-line": [ | |
true, | |
"check-open-brace", | |
"check-catch", | |
"check-else", | |
"check-finally", | |
"check-whitespace" | |
], | |
"quotemark": [ | |
true, | |
"single", | |
"avoid-escape" | |
], | |
"radix": true, | |
"semicolon": [ | |
false, | |
"never" | |
], | |
"switch-default": true, | |
"trailing-comma": [ | |
true, | |
{ | |
"multiline": "always", | |
"singleline": "never" | |
} | |
], | |
"triple-equals": [ | |
true, | |
"allow-null-check" | |
], | |
"typedef": [ | |
false, | |
"call-signature", | |
"parameter", | |
"arrow-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" | |
}, | |
{ | |
"call-signature": "space", | |
"index-signature": "space", | |
"parameter": "space", | |
"property-declaration": "space", | |
"variable-declaration": "space" | |
} | |
], | |
"variable-name": [ | |
true, | |
"allow-leading-underscore", | |
"ban-keywords" | |
], | |
"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