62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"defaultSeverity": "error",
|
|
"extends": [
|
|
"tslint:recommended"
|
|
],
|
|
"jsRules": {},
|
|
"rules": {
|
|
"max-line-length": {
|
|
"options": [120]
|
|
},
|
|
"space-before-function-paren": [true, {"named": "never", "anonymous": "always"}],
|
|
"no-console": [false],
|
|
"no-consecutive-blank-lines": [true, 2],
|
|
"forin": false,
|
|
"member-access": false,
|
|
"variable-name": false,
|
|
"interface-name": false,
|
|
"max-classes-per-file": false,
|
|
"ordered-imports": [true,
|
|
{
|
|
"import-sources-order": "lowercase-last",
|
|
"named-imports-order": "lowercase-last"
|
|
}
|
|
],
|
|
"no-namespace": false,
|
|
"member-ordering": false,
|
|
"array-type": [true, "array-simple"],
|
|
"class-name": false,
|
|
"no-bitwise": false,
|
|
"file-header": [true, "GNU General Public License"],
|
|
"completed-docs": [true, {
|
|
"methods": {
|
|
"privacies": ["public"],
|
|
"locations": "all"
|
|
},
|
|
"properties": {
|
|
"privacies": ["public"],
|
|
"locations": ["all"]
|
|
},
|
|
"functions": {
|
|
"visibilities": ["exported"]
|
|
},
|
|
"interfaces": {
|
|
"visibilities": ["exported"]
|
|
},
|
|
"types": {
|
|
"visibilities": ["exported"]
|
|
},
|
|
"enums": {
|
|
"visibilities": ["exported"]
|
|
},
|
|
"classes": {
|
|
"visibilities": ["exported"]
|
|
},
|
|
"namespaces": {
|
|
"visibilities": ["exported"]
|
|
}
|
|
}]
|
|
},
|
|
"rulesDirectory": []
|
|
}
|