bitwarden-estensione-browser/tslint.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.9 KiB
JSON
Raw Normal View History

2018-01-04 03:20:58 +01:00
{
"extends": "tslint:recommended",
"rules": {
2019-03-27 19:46:34 +01:00
"interface-name": [false],
2018-01-04 03:20:58 +01:00
"align": [true, "statements", "members"],
"ban-types": {
"options": [
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
["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`?"]
]
},
"member-access": [true, "no-public"],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-static-method",
"protected-static-field",
"protected-static-method",
"private-static-field",
"private-static-method",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"public-constructor",
"protected-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-empty": [true],
2018-01-04 03:20:58 +01:00
"object-literal-sort-keys": false,
"object-literal-shorthand": [true, "never"],
"ordered-imports": true,
2018-01-04 03:20:58 +01:00
"prefer-for-of": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-module",
"check-operator",
"check-preblock",
"check-separator",
"check-type"
2018-06-26 21:17:14 +02:00
],
"max-classes-per-file": false,
2021-12-16 12:45:01 +01:00
"arrow-parens": [true],
2021-02-08 21:11:44 +01:00
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "ignore",
"typeLiterals": "ignore"
},
"singleline": "never"
}
]
2018-01-04 03:20:58 +01:00
}
}