/
index.js
31 lines (29 loc) · 847 Bytes
/
index.js
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
30
31
module.exports = {
"extends": [
"tslint:recommended"
],
// https://palantir.github.io/tslint/rules/
rules: {
"variable-name": {
"options": [
"allow-leading-underscore"
]
},
"member-ordering": [true, { "order": "statics-first" }],
"member-access": [true, "no-public"],
"array-type": [true, "generic"],
"space-before-function-paren": [true, {
"anonymous": "always",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never",
}],
"quotemark": [true, "single"],
// Disabled rules
"no-var-requires": false,
"no-console": false,
"trailing-comma": false,
"object-literal-sort-keys": false
}
};