summaryrefslogtreecommitdiffstats
path: root/theme/tests/tslint.json
blob: 5bd49b271782e65a212752dad21798c971844c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "defaultSeverity": "warning",
  "extends": [
    "tslint:recommended"
  ],
  "jsRules": {
    "max-classes-per-file": false,
    "no-consecutive-blank-lines": false,
    "object-literal-sort-keys": false,
    "one-variable-per-declaration": false,
    "only-arrow-functions": false,
    "quotemark": false,
    "trailing-comma": false,
    "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"]
  },
  "rules": {
    "max-classes-per-file": false,
    "object-literal-sort-keys": false,
    "only-arrow-functions": false,
    "quotemark": false,
    "trailing-comma": [true, {"multiline": "ignore", "singleline": "never"}],
    "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
    "no-floating-promises": true
  },
  "rulesDirectory": [],
  "linterOptions": {
    "exclude": "**/*.js"
  }
}