Last active
April 24, 2017 21:38
-
-
Save SleeplessByte/ed7cdbd423b711d14cfa8dc92e171cc4 to your computer and use it in GitHub Desktop.
Default tslint
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
| { | |
| "rulesDirectory": [ | |
| ], | |
| "rules": { | |
| "adjacent-overload-signatures": true, | |
| "member-access": false, | |
| "member-ordering": [ | |
| true, | |
| { "order": [ | |
| "static-field", | |
| "instance-field", | |
| "constructor", | |
| "instance-method" | |
| ] } | |
| ], | |
| "no-any": false, | |
| "no-empty-interface": false, | |
| "no-inferrable-types": [true, "ignore-params"], | |
| "no-internal-module": true, | |
| "no-magic-numbers": [true, -1, 0, 0.5, 1, 2], | |
| "no-namespace": [true, "allow-declarations"], | |
| "no-reference": true, | |
| "no-var-requires": false, | |
| "only-arrow-functions": [false], | |
| "prefer-for-of": true, | |
| "promise-function-async": false, | |
| "typedef": [false], | |
| "typedef-whitespace": [ | |
| true, | |
| { | |
| "call-signature": "nospace", | |
| "index-signature": "nospace", | |
| "parameter": "nospace", | |
| "property-declaration": "nospace", | |
| "variable-declaration": "nospace" | |
| } | |
| ], | |
| "unified-signatures": true, | |
| "await-promise": false, | |
| "ban": [false], | |
| "curly": true, | |
| "forin": true, | |
| "import-blacklist": [ | |
| true, | |
| "rxjs", | |
| "lodash", | |
| "react-toolbox" | |
| ], | |
| "label-position": true, | |
| "no-arg": true, | |
| "no-bitwise": false, | |
| "no-conditional-assignment": true, | |
| "no-console": [ | |
| true, | |
| "info", | |
| "time", | |
| "timeEnd", | |
| "trace" | |
| ], | |
| "no-construct": true, | |
| "no-debugger": true, | |
| "no-duplicate-variable": true, | |
| "no-empty": true, | |
| "no-eval": true, | |
| "no-floating-promises": false, | |
| "no-for-in-array": false, | |
| "no-inferred-empty-object-type": false, | |
| "no-invalid-this": [true, "check-function-in-method"], | |
| "no-misused-new": true, | |
| "no-null-keyword": false, | |
| "no-shadowed-variable": true, | |
| "no-string-literal": false, | |
| "no-string-throw": true, | |
| "no-switch-case-fall-through": true, | |
| "no-unbound-method": false, | |
| "no-unsafe-any": false, | |
| "no-unsafe-finally": false, | |
| "no-unused-expression": true, | |
| "no-unused-new": true, | |
| "no-unused-variable": [true, "react"], | |
| "no-use-before-declare": true, | |
| "no-var-keyword": true, | |
| "no-void-expression": false, | |
| "radix": true, | |
| "restrict-plus-operands": false, | |
| "strict-boolean-expressions": false, | |
| "strict-type-predicates": false, | |
| "switch-default": false, | |
| "triple-equals": [ | |
| true, | |
| "allow-null-check", | |
| "allow-undefined-check" | |
| ], | |
| "typeof-compare": true, | |
| "use-isnan": true, | |
| "cyclomatic-complexity": [true], | |
| "eofline": true, | |
| "indent": [ | |
| true, | |
| "spaces" | |
| ], | |
| "linebreak-style": [false], | |
| "max-classes-per-file": [false], | |
| "max-file-line-count": [false], | |
| "max-line-length": [ | |
| true, | |
| 140 | |
| ], | |
| "no-default-export": false, | |
| "no-mergeable-namespace": false, | |
| "no-require-imports": false, | |
| "no-trailing-whitespace": true, | |
| "object-literal-sort-keys": false, | |
| "prefer-const": true, | |
| "trailing-comma": [false], | |
| "align": [false], | |
| "array-type": [false], | |
| "arrow-parens": false, | |
| "arrow-return-shorthand": [true], | |
| "callable-types": false, | |
| "class-name": true, | |
| "comment-format": [ | |
| true, | |
| "check-space" | |
| ], | |
| "completed-docs": [false], | |
| "file-header": [false], | |
| "import-spacing": true, | |
| "interface-name": [true, "never-prefix"], | |
| "interface-over-type-literal": false, | |
| "jsdoc-format": true, | |
| "new-parens": false, | |
| "no-angle-bracket-type-assertion": true, | |
| "no-boolean-literal-compare": false, | |
| "no-consecutive-blank-lines": [true, 2], | |
| "no-parameter-properties": false, | |
| "no-unnecessary-initializer": false, | |
| "no-unnecessary-qualifier": false, | |
| "object-literal-key-quotes": [true, "as-needed"], | |
| "object-literal-shorthand": true, | |
| "one-line": [ | |
| true, | |
| "check-open-brace", | |
| "check-catch", | |
| "check-else", | |
| "check-whitespace" | |
| ], | |
| "one-variable-per-declaration": [false], | |
| "ordered-imports": [false], | |
| "prefer-function-over-method": false, | |
| "prefer-method-signature": false, | |
| "quotemark": [ | |
| true, | |
| "single", | |
| "jsx-double", | |
| "avoid-escape" | |
| ], | |
| "semicolon": [ | |
| true, | |
| "never" | |
| ], | |
| "space-before-function-paren": [ | |
| true, { | |
| "anonymous": "always", | |
| "named": "never", | |
| "asyncArrow": "always", | |
| "method": "never", | |
| "constructor": "never" | |
| } | |
| ], | |
| "variable-name": [ | |
| true, | |
| "ban-keywords", | |
| "check-format", | |
| "allow-leading-underscore", | |
| "allow-pascal-case" | |
| ], | |
| "whitespace": [ | |
| true, | |
| "check-branch", | |
| "check-decl", | |
| "check-operator", | |
| "check-module", | |
| "check-separator", | |
| "check-type" | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment