blob: ea3cff1cb5109c47f609c42b0fea2d7f2cd64f70 [file] [log] [blame]
{
"extends": "tslint:recommended",
"rules": {
"array-type": [ true, "array" ],
"no-namespace": false,
"interface-name": [ false ],
"interface-over-type-literal": true,
"no-empty-interface": false,
"max-line-length": [ false ],
"trailing-comma": [ true, "never" ],
"variable-name": [ false ],
"max-classes-per-file": [ false ],
"member-ordering": [ false ],
"object-literal-sort-keys": false,
"no-string-literal": false,
"prefer-const": false,
"adjacent-overload-signatures": false,
"no-shadowed-variable": false,
"ban-types": [
true,
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
// ["Function", "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."],
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
["Number", "Avoid using the `Number` type. Did you mean `number`?"],
["String", "Avoid using the `String` type. Did you mean `string`?"],
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
]
}
}