Skip to content
Snippets Groups Projects
Commit 82040f53 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore: tslint curly same line

parent de595e28
Branches
Tags
2 merge requests!418V2.1.0,!400V2.0
......@@ -26,5 +26,5 @@
"i18n-ally.keystyle": "nested",
"i18n-ally.enabledFrameworks": "ngx-translate",
"typescript.preferences.importModuleSpecifier": "relative",
"cSpell.words": ["covid", "Rés'in"]
"cSpell.words": ["covid", "onespace", "Rés'in", "toastr"]
}
{
"extends": "tslint:recommended",
"rulesDirectory": [
"codelyzer"
],
"rulesDirectory": ["codelyzer"],
"rules": {
"align": {
"options": [
"parameters",
"statements"
]
"options": ["parameters", "statements"]
},
"array-type": false,
"arrow-return-shorthand": true,
"curly": true,
"curly": [true, "ignore-same-line"],
"deprecation": {
"severity": "warning"
},
"eofline": true,
"import-blacklist": [
true,
"rxjs/Rx"
],
"import-blacklist": [true, "rxjs/Rx"],
"import-spacing": true,
"indent": {
"options": [
"spaces"
]
"options": ["spaces"]
},
"max-classes-per-file": false,
"max-line-length": [
true,
140
],
"max-line-length": [true, 140],
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
"order": ["static-field", "instance-field", "static-method", "instance-method"]
}
],
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-empty": false,
"no-inferrable-types": [
true,
"ignore-params"
],
"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"
],
"quotemark": [
true,
"single"
],
"object-literal-key-quotes": [true, "as-needed"],
"quotemark": [true, "single"],
"semicolon": {
"options": [
"always"
]
"options": ["always"]
},
"space-before-function-paren": {
"options": {
......@@ -82,10 +46,7 @@
"named": "never"
}
},
"typedef": [
true,
"call-signature"
],
"typedef": [true, "call-signature"],
"typedef-whitespace": {
"options": [
{
......@@ -105,21 +66,10 @@
]
},
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-pascal-case"
]
"options": ["ban-keywords", "check-format", "allow-pascal-case"]
},
"whitespace": {
"options": [
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type",
"check-typecast"
]
"options": ["check-branch", "check-decl", "check-operator", "check-separator", "check-type", "check-typecast"]
},
"component-class-suffix": true,
"contextual-lifecycle": true,
......@@ -136,17 +86,7 @@
"template-no-negated-async": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"directive-selector": [
true,
"attribute",
"app",
"camelCase"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
]
"directive-selector": [true, "attribute", "app", "camelCase"],
"component-selector": [true, "element", "app", "kebab-case"]
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment