mapillary-js/config/tslint.json
Oscar Lorentzon 426f46326b chore: move configs to separate directory
Use module build in examples.
2021-03-25 16:48:40 +01:00

91 lines
1.8 KiB
JSON

{
"extends": "tslint:recommended",
"rules": {
"adjacent-overload-signatures": false,
"ban-types": false,
"member-access": true,
"member-ordering": [
true,
{
"order": "fields-first"
}
],
"no-any": false,
"no-empty-interface": false,
"no-namespace": false,
"no-non-null-assertion": false,
"no-reference": false,
"prefer-for-of": false,
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"member-variable-declaration"
],
"unified-signatures": false,
"no-bitwise": false,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-submodule-imports": [
true,
"rxjs"
],
"no-switch-case-fall-through": true,
"no-unnecessary-class": [
true,
"allow-static-only"
],
"max-classes-per-file": false,
"max-line-length": [
true,
140
],
"prefer-const": false,
"align": [
true,
"parameters",
"arguments",
"statements"
],
"array-type": [
true,
"array"
],
"arrow-return-shorthand": false,
"callable-types": false,
"comment-format": [
true,
"check-space"
],
"import-spacing": false,
"interface-over-type-literal": false,
"no-angle-bracket-type-assertion": false,
"no-unnecessary-initializer": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"ordered-imports": false,
"space-before-function-paren": false,
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}