tslint.json 1.32 KB
Newer Older
1 2 3 4 5 6 7 8
{
  "defaultSeverity": "error",
  "extends": "tslint:recommended",
  "jsRules": {},
  "rules": {
    "curly": [true, "ignore-same-line"],
    "quotemark": [false, "double", "avoid-escape", "avoid-template"],
    "only-arrow-functions": [false],
9 10
    "no-var-keyword": true,
    "prefer-const": [true],
11 12 13 14
    "max-line-length": [false, {
      "limit": 80
    }],
    "ordered-imports": false,
15
    "array-type": [true, "generic"],
16
    "semicolon": true,
17 18 19 20 21 22 23 24 25 26 27 28 29
    "member-access": false,
    "object-literal-shorthand": false,
    "object-literal-key-quotes": [true, "as-needed"],
    "object-literal-sort-keys": false,
    "space-before-function-paren": [true, {
      "anonymous": "always"
    }],
    "triple-equals": false,
    "no-string-throw": false,
    "no-empty": [true, "allow-empty-catch", "allow-empty-functions"],
    "trailing-comma": false,
    "member-ordering": false,
    "no-string-literal": false,
30
    "arrow-parens": [true, "ban-single-arg-parens"],
31 32 33 34
    "no-console": false,
    "interface-name": false,
    "no-bitwise": false,
    "no-shadowed-variable": false,
35 36 37
    "prefer-for-of": true,
    "align": true,
    "arrow-return-shorthand": true,
38
    "max-classes-per-file": false,
39
    "variable-name": true,
40
    "forin": false,
41
    "one-variable-per-declaration": true,
42 43 44 45
    "no-consecutive-blank-lines": true
  },
  "rulesDirectory": []
}