Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
urgi-is
data-discovery
Commits
79888254
Commit
79888254
authored
Aug 08, 2018
by
Exbrayat Cédric
Browse files
chore: tougher tslint
parent
999595f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/tslint.json
View file @
79888254
...
...
@@ -4,6 +4,7 @@
],
"rules"
:
{
"arrow-return-shorthand"
:
true
,
"ban-comma-operator"
:
true
,
"callable-types"
:
true
,
"class-name"
:
true
,
"comment-format"
:
[
...
...
@@ -16,10 +17,7 @@
},
"eofline"
:
true
,
"forin"
:
true
,
"import-blacklist"
:
[
true
,
"rxjs/Rx"
],
"import-blacklist"
:
true
,
"import-spacing"
:
true
,
"indent"
:
[
true
,
...
...
@@ -55,20 +53,34 @@
],
"no-construct"
:
true
,
"no-debugger"
:
true
,
"no-duplicate-imports"
:
true
,
"no-duplicate-super"
:
true
,
"no-duplicate-switch-case"
:
true
,
"no-dynamic-delete"
:
true
,
"no-empty"
:
false
,
"no-empty-interface"
:
true
,
"no-eval"
:
true
,
"no-implicit-dependencies"
:
[
true
,
"dev"
],
"no-import-side-effect"
:
[
true
,
{
"ignore-module"
:
"(core-js/.*|zone
\\
.js/.*)$"
}
],
"no-inferrable-types"
:
[
true
,
"ignore-params"
],
"no-redundant-jsdoc"
:
true
,
"no-misused-new"
:
true
,
"no-non-null-assertion"
:
true
,
"no-parameter-reassignment"
:
true
,
"no-return-await"
:
true
,
"no-shadowed-variable"
:
true
,
"no-string-literal"
:
false
,
"no-string-throw"
:
true
,
"no-switch-case-fall-through"
:
true
,
"no-this-assignment"
:
true
,
"no-trailing-whitespace"
:
true
,
"no-unnecessary-initializer"
:
true
,
"no-unused-expression"
:
true
,
...
...
@@ -83,6 +95,7 @@
"check-whitespace"
],
"prefer-const"
:
true
,
"prefer-while"
:
true
,
"quotemark"
:
[
true
,
"single"
...
...
@@ -116,15 +129,24 @@
"check-separator"
,
"check-type"
],
"no-output-on-prefix"
:
true
,
"use-input-property-decorator"
:
true
,
"use-output-property-decorator"
:
true
,
"use-host-property-decorator"
:
true
,
"angular-whitespace"
:
[
true
,
"check-semicolon"
,
"check-interpolation"
,
"check-pipe"
],
"banana-in-box"
:
true
,
"component-class-suffix"
:
true
,
"contextual-life-cycle"
:
true
,
"directive-class-suffix"
:
true
,
"enforce-component-selector"
:
true
,
"no-conflicting-life-cycle-hooks"
:
true
,
"no-input-rename"
:
true
,
"no-output-on-prefix"
:
true
,
"no-output-rename"
:
true
,
"template-conditional-complexity"
:
true
,
"template-cyclomatic-complexity"
:
[
true
,
10
],
"templates-no-negated-async"
:
true
,
"use-host-property-decorator"
:
true
,
"use-input-property-decorator"
:
true
,
"use-life-cycle-interface"
:
true
,
"use-output-property-decorator"
:
true
,
"use-pipe-transform-interface"
:
true
,
"component-class-suffix"
:
true
,
"directive-class-suffix"
:
true
"use-view-encapsulation"
:
true
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment