Last active
May 4, 2017 17:46
-
-
Save jrop/9f03e3b28a400de93e91568b21e7aa4e to your computer and use it in GitHub Desktop.
TSLint.json
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
| { | |
| "extends": ["tslint-react"], | |
| "rules": { | |
| "jsx-alignment": false, | |
| "jsx-curly-spacing": [true, "never"], | |
| "jsx-no-bind": true, | |
| "jsx-no-lambda": false, | |
| "jsx-no-multiline-js": false, | |
| "jsx-wrap-multiline": false, | |
| "adjacent-overload-signatures": false, | |
| "align": [true, "parameters", "statements"], | |
| "array-type": false, | |
| "arrow-parens": [true, "ban-single-arg-parens"], | |
| "arrow-return-shorthand": [true, "multiline"], | |
| "await-promise": false, | |
| "ban": false, | |
| "ban-types": false, | |
| "callable-types": false, | |
| "class-name": true, | |
| "comment-format": [true, "check-space"], | |
| "completed-docs": false, | |
| "curly": false, | |
| "cyclomatic-complexity": [true, 30], | |
| "eofline": true, | |
| "file-header": false, | |
| "forin": false, | |
| "import-blacklist": false, | |
| "import-spacing": true, | |
| "indent": [true, "tabs"], | |
| "interface-name": true, | |
| "interface-over-type-literal": true, | |
| "jsdoc-format": false, | |
| "label-position": false, | |
| "linebreak-style": [true, "LF"], | |
| "match-default-export-name": false, | |
| "max-classes-per-file": false, | |
| "max-file-line-count": false, | |
| "max-line-length": false, | |
| "member-access": false, | |
| "member-ordering": false, | |
| "new-parens": true, | |
| "newline-before-return": false, | |
| "no-angle-bracket-type-assertion": false, | |
| "no-any": false, | |
| "no-arg": false, | |
| "no-bitwise": false, | |
| "no-boolean-literal-compare": true, | |
| "no-conditional-assignment": true, | |
| "no-consecutive-blank-lines": true, | |
| "no-console": false, | |
| "no-construct": false, | |
| "no-debugger": false, | |
| "no-default-export": false, | |
| "no-duplicate-super": false, | |
| "no-duplicate-variable": true, | |
| "no-empty": true, | |
| "no-empty-interface": false, | |
| "no-eval": true, | |
| "no-floating-promises": true, | |
| "no-for-in-array": true, | |
| "no-import-side-effect": false, | |
| "no-inferrable-types": false, | |
| "no-inferred-empty-object-type": false, | |
| "no-internal-module": false, | |
| "no-invalid-this": true, | |
| "no-magic-numbers": false, | |
| "no-mergeable-namespace": false, | |
| "no-misused-new": false, | |
| "no-namespace": false, | |
| "no-non-null-assertion": false, | |
| "no-null-keyword": false, | |
| "no-parameter-properties": false, | |
| "no-reference": false, | |
| "no-require-imports": false, | |
| "no-shadowed-variable": false, | |
| "no-string-literal": false, | |
| "no-string-throw": false, | |
| "no-switch-case-fall-through": false, | |
| "no-trailing-whitespace": true, | |
| "no-unbound-method": true, | |
| "no-unnecessary-initializer": true, | |
| "no-unnecessary-qualifier": true, | |
| "no-unsafe-any": false, | |
| "no-unsafe-finally": false, | |
| "no-unused-expression": true, | |
| "no-unused-new": false, | |
| "no-unused-variable": [true, "check-parameters", "react"], | |
| "no-use-before-declare": true, | |
| "no-var-keyword": true, | |
| "no-var-requires": false, | |
| "no-void-expression": false, | |
| "object-literal-key-quotes": [true, "consistent-as-needed"], | |
| "object-literal-shorthand": true, | |
| "object-literal-sort-keys": false, | |
| "one-line": [ | |
| true, | |
| "check-catch", | |
| "check-finally", | |
| "check-else", | |
| "check-open-brace", | |
| "check-whitespace" | |
| ], | |
| "one-variable-per-declaration": false, | |
| "only-arrow-functions": false, | |
| "ordered-imports": [true, { | |
| "import-source-order": "lowercase-first", | |
| "named-imports-order": "lowercase-first" | |
| }], | |
| "prefer-const": true, | |
| "prefer-for-of": false, | |
| "prefer-function-over-method": true, | |
| "prefer-method-signature": true, | |
| "promise-function-async": false, | |
| "quotemark": [true, "single", "jsx-double"], | |
| "radix": false, | |
| "restrict-plus-operands": false, | |
| "semicolon": [true, "never"], | |
| "space-before-function-paren": [true, "anonymous", "asyncArrow"], | |
| "strict-boolean-expressions": false, | |
| "strict-type-predicates": true, | |
| "switch-default": false, | |
| "trailing-comma": [ | |
| true, { | |
| "multiline": "always", | |
| "singleline": "never" | |
| } | |
| ], | |
| "triple-equals": false, | |
| "typedef": false, | |
| "typedef-whitespace": false, | |
| "typeof-compare": true, | |
| "unified-signatures": false, | |
| "use-isnan": true, | |
| "variable-name": [true, "check-format", "ban-keywords"], | |
| "whitespace": [ | |
| true, | |
| "check-branch", | |
| "check-decl", | |
| "check-operator", | |
| "check-module", | |
| "check-separator", | |
| "check-type", | |
| "check-typecast", | |
| "check-preblock" | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment