mempool/frontend/tslint.json

158 lines
3.4 KiB
JSON
Raw Normal View History

2019-07-21 16:59:47 +02:00
{
"extends": "tslint:recommended",
2019-07-21 16:59:47 +02:00
"rules": {
2020-04-04 19:00:17 +02:00
"align": {
"options": [
"parameters",
"statements"
]
},
"array-type": false,
"forin": false,
"arrow-parens": false,
2020-04-04 19:00:17 +02:00
"arrow-return-shorthand": true,
"curly": true,
"no-bitwise": false,
2019-07-21 16:59:47 +02:00
"deprecation": {
"severity": "warning"
2019-07-21 16:59:47 +02:00
},
"component-class-suffix": true,
"contextual-lifecycle": true,
"directive-class-suffix": true,
2020-04-04 19:00:17 +02:00
"eofline": true,
"import-spacing": true,
"indent": {
"options": [
"spaces"
]
},
"object-literal-shorthand": false,
"directive-selector": [
2019-07-21 16:59:47 +02:00
true,
"attribute",
"app",
"camelCase"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
2019-07-21 16:59:47 +02:00
],
"import-blacklist": [
2019-07-21 16:59:47 +02:00
true,
"rxjs/Rx"
2019-07-21 16:59:47 +02:00
],
"interface-name": false,
"max-classes-per-file": false,
2019-07-21 16:59:47 +02:00
"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,
2019-07-21 16:59:47 +02:00
"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,
2019-07-21 16:59:47 +02:00
"no-switch-case-fall-through": true,
"no-var-requires": false,
"object-literal-key-quotes": [
false,
"as-needed"
2019-07-21 16:59:47 +02:00
],
"object-literal-sort-keys": false,
"ordered-imports": false,
2019-07-21 16:59:47 +02:00
"quotemark": [
true,
"single"
],
2020-04-04 19:00:17 +02:00
"semicolon": {
"options": [
"always"
]
},
"space-before-function-paren": {
"options": {
"anonymous": "never",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never"
}
},
"trailing-comma": false,
"no-conflicting-lifecycle": true,
"no-host-metadata-property": true,
2019-07-21 16:59:47 +02:00
"no-input-rename": true,
"no-inputs-metadata-property": true,
"no-output-native": true,
"no-output-on-prefix": true,
2019-07-21 16:59:47 +02:00
"no-output-rename": true,
"no-outputs-metadata-property": true,
"template-banana-in-box": true,
"template-no-negated-async": true,
2020-04-04 19:00:17 +02: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"
}
]
},
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true
2020-04-04 19:00:17 +02:00
, "variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-pascal-case"
]
},
"whitespace": {
"options": [
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type",
"check-typecast"
]
}
},
"rulesDirectory": [
"codelyzer"
]
}