mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
1857103511
After discussing the conflicting 'typedef' vs. 'no-inferrable-types' TSLint rules (https://github.com/palantir/tslint/issues/711) in the Discord #development channel, the conclusion was to disable this rule in order to be uniform and explicit in what all declarations are. Although it's more verbose, it will help us out in the long run.
76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
{
|
|
"defaultSeverity": "error",
|
|
"extends": [
|
|
"tslint:all"
|
|
],
|
|
"jsRules": {},
|
|
"linterOptions": {
|
|
"exclude": [
|
|
"node_modules/"
|
|
]
|
|
},
|
|
"rules": {
|
|
"completed-docs": [
|
|
true,
|
|
{
|
|
"classes": true,
|
|
"enums": true,
|
|
"enum-members": true,
|
|
"functions": {
|
|
"visibilities": [
|
|
"exported"
|
|
]
|
|
},
|
|
"interfaces": true,
|
|
"methods": {
|
|
"privacies": [
|
|
"public"
|
|
]
|
|
},
|
|
"namespaces": true,
|
|
"properties": true,
|
|
"types": true,
|
|
"variables": {
|
|
"visibilities": [
|
|
"exported"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"linebreak-style": false,
|
|
"member-access": [
|
|
true,
|
|
"no-public"
|
|
],
|
|
"no-any": false,
|
|
"no-inferrable-types": [
|
|
false,
|
|
"ignore-params",
|
|
"ignore-properties"
|
|
],
|
|
"no-null-keyword": false,
|
|
"no-unsafe-any": false,
|
|
"object-literal-key-quotes": [
|
|
true,
|
|
"as-needed"
|
|
],
|
|
"only-arrow-functions": [
|
|
true,
|
|
"allow-declarations",
|
|
"allow-named-functions"
|
|
],
|
|
"typedef": [
|
|
true,
|
|
"call-signatures",
|
|
"arrow-call-signatures",
|
|
"parameter",
|
|
"arrow-parameter",
|
|
"property-declaration",
|
|
"variable-declaration",
|
|
"member-variable-declaration",
|
|
"object-destructuring",
|
|
"array-destructuring"
|
|
]
|
|
},
|
|
"rulesDirectory": []
|
|
} |