mirror of
https://github.com/protobufjs/protobuf.js.git
synced 2025-12-08 20:58:55 +00:00
29 lines
1.2 KiB
JSON
29 lines
1.2 KiB
JSON
{
|
|
"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`?"]
|
|
]
|
|
}
|
|
} |