OpenSlides/client/src/tslint.json
FinnStutzenstein 9bb44f13bd Stricter linting rules
Parameter and return types are required now
2018-09-10 10:24:28 +02:00

29 lines
917 B
JSON

{
"extends": "../tslint.json",
"rules": {
"directive-selector": [true, "attribute", "os", "camelCase"],
"component-selector": [true, "element", "os", "kebab-case"],
"member-access": [true, "check-accessor", "check-constructor", "check-parameter-property"],
"comment-format": [true, "check-space"],
"curly": true,
"no-string-literal": true,
"jsdoc-format": true,
"no-trailing-whitespace": true,
"member-ordering": [
true,
{
"order": ["static-field", "static-method", "instance-field", "constructor", "instance-method"]
}
],
"no-unused-variable": true,
"typedef": [
true,
"call-signature",
"property-declaration",
"parameter",
"object-destructuring",
"array-destructuring"
]
}
}