Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "defaultSeverity": "error",
- "extends": [
- "tslint:recommended"
- ],
- "jsRules": {},
- "rules": {
- "align": true,
- "array-type": [
- true,
- "array"
- ],
- "arrow-parens": [
- true,
- "ban-single-arg-parens"
- ],
- "arrow-return-shorthand": true,
- "await-promise": true,
- "class-name": true,
- "curly": [
- true,
- "ignore-same-line"
- ],
- "forin": true, // requires "for-in" loops to contain "hasOwnProperty" if checks
- "indent": [
- true,
- "spaces",
- 2
- ],
- "interface-over-type-literal": true,
- "no-angle-bracket-type-assertion": true,
- "no-consecutive-blank-lines": true,
- "no-duplicate-variable": [
- true,
- "check-parameters"
- ],
- "no-empty": true,
- "no-floating-promises": true,
- "no-for-in-array": true,
- "no-shadowed-variable": true,
- "no-string-throw": true,
- "no-switch-case-fall-through": true,
- "no-trailing-whitespace": true,
- "no-unused-variable": true,
- "no-var-keyword": true,
- "object-literal-key-quotes": [
- true,
- "as-needed"
- ],
- "object-literal-sort-keys": [
- true,
- "ignore-case",
- "shorthand-first"
- ],
- "prefer-const": [
- true,
- {
- "destructuring": "all"
- }
- ],
- "promise-function-async": true,
- "quotemark": [
- true,
- "double",
- "jsx-double"
- ],
- "restrict-plus-operands": true,
- "semicolon": [
- true,
- "never"
- ],
- "space-within-parens": true,
- "switch-default": true,
- "trailing-comma": [
- true,
- {
- "multiline": "never",
- "singleline": "never"
- }
- ],
- "triple-equals": [
- true,
- "allow-undefined-check",
- "allow-null-check"
- ],
- "typedef": true,
- "typeof-compare": true,
- "whitespace": [
- true,
- "check-branch",
- "check-decl",
- "check-operator",
- "check-module",
- "check-separator",
- "check-rest-spread",
- "check-type",
- "check-typecast",
- "check-type-operator",
- "check-preblock"
- ]
- },
- "rulesDirectory": []
- }
Add Comment
Please, Sign In to add comment