Skip to content

Instantly share code, notes, and snippets.

@Steven24K
Created December 7, 2018 10:55
Show Gist options
  • Save Steven24K/4adbe8c1261203296bd6757917cb9794 to your computer and use it in GitHub Desktop.
Save Steven24K/4adbe8c1261203296bd6757917cb9794 to your computer and use it in GitHub Desktop.
A standar tslint file with all options set to false.
{
"jsRules": {
"align": false,
"arrow-parens": false,
"arrow-return-shorthand": false,
"ban": false,
"ban-comma-operator": false,
"binary-expression-operand-order": false,
"class-name": false,
"comment-format": false,
"completed-docs": false,
"curly": false,
"cyclomatic-complexity": false,
"deprecation": false,
"encoding": false,
"eofline": false,
"file-header": false,
"file-name-casing": false,
"forin": false,
"import-blacklist": false,
"import-spacing": false,
"indent": false,
"jsdoc-format": false,
"label-position": false,
"linebreak-style": false,
"max-classes-per-file": false,
"max-file-line-count": false,
"max-line-length": false,
"member-ordering": false,
"new-parens": false,
"newline-before-return": false,
"newline-per-chained-call": false,
"no-arg": false,
"no-bitwise": false,
"no-conditional-assignment": false,
"no-consecutive-blank-lines": false,
"no-console": false,
"no-construct": false,
"no-debugger": false,
"no-default-export": false,
"no-duplicate-imports": false,
"no-duplicate-super": false,
"no-duplicate-switch-case": false,
"no-duplicate-variable": false,
"no-dynamic-delete": false,
"no-empty": false,
"no-eval": false,
"no-for-in-array": false,
"no-implicit-dependencies": false,
"no-import-side-effect": false,
"no-invalid-template-strings": false,
"no-invalid-this": false,
"no-irregular-whitespace": false,
"no-magic-numbers": false,
"no-null-keyword": false,
"no-parameter-reassignment": false,
"no-reference": false,
"no-require-imports": false,
"no-return-await": false,
"no-shadowed-variable": false,
"no-sparse-arrays": false,
"no-string-literal": false,
"no-string-throw": false,
"no-submodule-imports": false,
"no-switch-case-fall-through": false,
"no-this-assignment": false,
"no-trailing-whitespace": false,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-class": false,
"no-unnecessary-initializer": false,
"no-unsafe-finally": false,
"no-unused-expression": false,
"no-use-before-declare": false,
"no-var-keyword": false,
"no-void-expression": false,
"number-literal-format": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"one-line": false,
"one-variable-per-declaration": false,
"only-arrow-functions": false,
"ordered-imports": false,
"prefer-conditional-expression": false,
"prefer-const": false,
"prefer-for-of": false,
"prefer-function-over-method": false,
"prefer-method-signature": false,
"prefer-object-spread": false,
"prefer-switch": false,
"prefer-template": false,
"prefer-while": false,
"promise-function-async": false,
"quotemark": false,
"radix": false,
"restrict-plus-operands": false,
"return-undefined": false,
"semicolon": false,
"space-before-function-paren": false,
"space-within-parens": false,
"switch-default": false,
"switch-final-break": false,
"trailing-comma": false,
"triple-equals": false,
"typeof-compare": false,
"use-isnan": false,
"variable-name": false,
"whitespace": false
},
"rules": {
"adjacent-overload-signatures": false,
"align": false,
"array-type": false,
"arrow-parens": false,
"arrow-return-shorthand": false,
"await-promise": false,
"ban": false,
"ban-comma-operator": false,
"ban-types": false,
"binary-expression-operand-order": false,
"callable-types": false,
"class-name": false,
"comment-format": false,
"completed-docs": false,
"curly": false,
"cyclomatic-complexity": false,
"deprecation": false,
"encoding": false,
"eofline": false,
"file-header": false,
"file-name-casing": false,
"forin": false,
"import-blacklist": false,
"import-spacing": false,
"indent": false,
"interface-name": false,
"interface-over-type-literal": false,
"jsdoc-format": false,
"label-position": false,
"linebreak-style": false,
"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": false,
"newline-before-return": false,
"newline-per-chained-call": false,
"no-angle-bracket-type-assertion": false,
"no-any": false,
"no-arg": false,
"no-bitwise": false,
"no-boolean-literal-compare": false,
"no-conditional-assignment": false,
"no-consecutive-blank-lines": false,
"no-console": false,
"no-construct": false,
"no-debugger": false,
"no-default-export": false,
"no-duplicate-imports": false,
"no-duplicate-super": false,
"no-duplicate-switch-case": false,
"no-duplicate-variable": false,
"no-dynamic-delete": false,
"no-empty": false,
"no-empty-interface": false,
"no-eval": false,
"no-floating-promises": false,
"no-for-in-array": false,
"no-implicit-dependencies": false,
"no-import-side-effect": false,
"no-inferrable-types": false,
"no-inferred-empty-object-type": false,
"no-internal-module": false,
"no-invalid-template-strings": false,
"no-invalid-this": false,
"no-irregular-whitespace": false,
"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-object-literal-type-assertion": false,
"no-parameter-properties": false,
"no-parameter-reassignment": false,
"no-redundant-jsdoc": false,
"no-reference": false,
"no-reference-import": false,
"no-require-imports": false,
"no-return-await": false,
"no-shadowed-variable": false,
"no-sparse-arrays": false,
"no-string-literal": false,
"no-string-throw": false,
"no-submodule-imports": false,
"no-switch-case-fall-through": false,
"no-this-assignment": false,
"no-trailing-whitespace": false,
"no-unbound-method": false,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-class": false,
"no-unnecessary-initializer": false,
"no-unnecessary-qualifier": false,
"no-unnecessary-type-assertion": false,
"no-unsafe-any": false,
"no-unsafe-finally": false,
"no-unused-expression": false,
"no-unused-variable": false,
"no-use-before-declare": false,
"no-var-keyword": false,
"no-var-requires": false,
"no-void-expression": false,
"number-literal-format": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"one-line": false,
"one-variable-per-declaration": false,
"only-arrow-functions": false,
"ordered-imports": false,
"prefer-conditional-expression": false,
"prefer-const": false,
"prefer-for-of": false,
"prefer-function-over-method": false,
"prefer-method-signature": false,
"prefer-object-spread": false,
"prefer-readonly": false,
"prefer-switch": false,
"prefer-template": false,
"prefer-while": false,
"promise-function-async": false,
"quotemark": false,
"radix": false,
"restrict-plus-operands": false,
"return-undefined": false,
"semicolon": false,
"space-before-function-paren": false,
"space-within-parens": false,
"strict-boolean-expressions": false,
"strict-type-predicates": false,
"switch-default": false,
"switch-final-break": false,
"trailing-comma": false,
"triple-equals": false,
"type-literal-delimiter": false,
"typedef": false,
"typedef-whitespace": false,
"typeof-compare": false,
"unified-signatures": false,
"use-default-type-parameter": false,
"use-isnan": false,
"variable-name": false,
"whitespace": false
},
"rulesDirectory": "",
"extends": [],
"defaultSeverity": "warning",
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment