uva-covid19-testing-frontend/tslint.json

155 lines
3.3 KiB
JSON
Raw Normal View History

2020-09-22 18:33:50 +00:00
{
"extends": "tslint:recommended",
"rules": {
2020-09-23 02:33:07 +00:00
"align": {
"options": [
"parameters",
"statements"
]
},
2020-09-22 18:33:50 +00:00
"array-type": false,
"arrow-parens": false,
2020-09-23 02:33:07 +00:00
"arrow-return-shorthand": true,
2020-09-22 18:33:50 +00:00
"deprecation": {
"severity": "warning"
},
"component-class-suffix": true,
"contextual-lifecycle": true,
2020-09-23 02:33:07 +00:00
"curly": true,
2020-09-22 18:33:50 +00:00
"directive-class-suffix": true,
"directive-selector": [
true,
"attribute",
"app",
"camelCase"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
],
2020-09-23 02:33:07 +00:00
"eofline": true,
2020-09-22 18:33:50 +00:00
"import-blacklist": [
true,
"rxjs/Rx"
],
2020-09-23 02:33:07 +00:00
"import-spacing": true,
"indent": {
"options": [
"spaces"
]
},
2020-09-22 18:33:50 +00:00
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": [
true,
140
],
"member-access": false,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"no-consecutive-blank-lines": false,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-empty": false,
"no-inferrable-types": [
true,
"ignore-params"
],
"no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-switch-case-fall-through": true,
"no-var-requires": false,
"object-literal-key-quotes": [
true,
"as-needed"
],
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": [
true,
"single"
],
"trailing-comma": false,
"no-conflicting-lifecycle": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-inputs-metadata-property": true,
"no-output-native": true,
"no-output-on-prefix": true,
"no-output-rename": true,
2020-09-23 02:33:07 +00:00
"semicolon": {
"options": [
"always"
]
},
"space-before-function-paren": {
"options": {
"anonymous": "never",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never"
}
},
2020-09-22 18:33:50 +00:00
"no-outputs-metadata-property": true,
"template-banana-in-box": true,
"template-no-negated-async": true,
2020-09-23 02:33:07 +00:00
"typedef-whitespace": {
"options": [
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
]
},
2020-09-22 18:33:50 +00:00
"use-lifecycle-interface": true,
2020-09-23 02:33:07 +00:00
"use-pipe-transform-interface": true,
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-pascal-case"
]
},
"whitespace": {
"options": [
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type",
"check-typecast"
]
}
2020-09-22 18:33:50 +00:00
},
"rulesDirectory": [
"codelyzer"
]
}