mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +00:00
56
tslint.json
56
tslint.json
@@ -5,7 +5,19 @@
|
||||
"tslint-eslint-rules"
|
||||
],
|
||||
"rules": {
|
||||
"arrow-return-shorthand": true,
|
||||
"await-promise": true,
|
||||
"ban-comma-operator": true,
|
||||
"ban-ts-ignore": true,
|
||||
"completed-docs": true,
|
||||
"curly": true,
|
||||
"encoding": true,
|
||||
"file-header": true,
|
||||
"file-name-casing": [
|
||||
true,
|
||||
"camel-case"
|
||||
],
|
||||
"forin": true,
|
||||
"indent": [
|
||||
true,
|
||||
"spaces",
|
||||
@@ -15,6 +27,10 @@
|
||||
true,
|
||||
"never-prefix"
|
||||
],
|
||||
"linebreak-style": [
|
||||
true,
|
||||
"LF"
|
||||
],
|
||||
"max-classes-per-file": false,
|
||||
"member-access": false,
|
||||
"member-ordering": [
|
||||
@@ -38,6 +54,27 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"newline-before-return": true,
|
||||
"newline-per-chained-call": true,
|
||||
"no-angle-bracket-type-assertion": true,
|
||||
"no-any": true,
|
||||
"no-boolean-literal-compare": true,
|
||||
"no-conditional-assignment": true,
|
||||
"no-construct": true,
|
||||
"no-default-export": true,
|
||||
"no-default-import": true,
|
||||
"no-duplicate-super": true,
|
||||
"no-floating-promises": true,
|
||||
"no-implicit-dependencies": true,
|
||||
"no-inferrable-types": true,
|
||||
"no-magic-numbers": true,
|
||||
"no-parameter-reassignment": true,
|
||||
"no-redundant-jsdoc": true,
|
||||
"no-reference": true,
|
||||
"no-return-await": true,
|
||||
"no-shadowed-variable": true,
|
||||
"no-sparse-arrays": true,
|
||||
"no-string-throw": true,
|
||||
"no-trailing-whitespace": [
|
||||
true,
|
||||
"ignore-comments",
|
||||
@@ -49,6 +86,7 @@
|
||||
],
|
||||
"object-literal-key-quotes": false,
|
||||
"object-literal-shorthand": false,
|
||||
"one-variable-per-declaration": true,
|
||||
"ordered-imports": [
|
||||
true,
|
||||
{
|
||||
@@ -56,11 +94,21 @@
|
||||
"named-imports-order": "case-insensitive"
|
||||
}
|
||||
],
|
||||
"prefer-const": true,
|
||||
"prefer-for-of": true,
|
||||
"prefer-function-over-method": true,
|
||||
"prefer-object-spread": true,
|
||||
"prefer-readonly": true,
|
||||
"prefer-template": true,
|
||||
"promise-function-async": true,
|
||||
"quotemark": [
|
||||
true,
|
||||
"single",
|
||||
"avoid-escape"
|
||||
],
|
||||
"semicolon": true,
|
||||
"static-this": true,
|
||||
"strict-boolean-expressions": true,
|
||||
"trailing-comma": [
|
||||
true,
|
||||
{
|
||||
@@ -68,6 +116,14 @@
|
||||
"singleline": "never"
|
||||
}
|
||||
],
|
||||
"type-literal-delimiter": [
|
||||
true,
|
||||
{
|
||||
"singleLine": "always"
|
||||
}
|
||||
],
|
||||
"unnecessary-bind": true,
|
||||
"unnecessary-else": true,
|
||||
"variable-name": [
|
||||
true,
|
||||
"ban-keywords",
|
||||
|
||||
Reference in New Issue
Block a user