restore tslint file

This commit is contained in:
Eugenio Romano
2018-07-09 11:15:05 +01:00
parent 5841407f16
commit fabcefeba6

View File

@@ -1,46 +1,47 @@
{ {
"rulesDirectory": [ "rulesDirectory": [
"../node_modules/codelyzer", "../node_modules/codelyzer",
"../tools/tslint-rules/" "../tools/tslint-rules/"
],
"rules": {
"align": [
true,
"parameters",
"statements"
], ],
"rules": { "ban": [
"align": [ true,
true, "eval",
"parameters", "fdescribe"
"statements" ],
], "class-name": true,
"ban": [ "comment-format": [
true, true,
"eval" "check-space"
], ],
"class-name": true, "curly": true,
"comment-format": [ "eofline": true,
true, "forin": true,
"check-space"
],
"curly": true,
"eofline": true,
"forin": true,
"import-blacklist": [ "import-blacklist": [
true, true,
"rxjs", "rxjs",
"rxjs/Rx" "rxjs/Rx"
], ],
"import-spacing": true, "import-spacing": true,
"indent": [ "indent": [
true, true,
"spaces" "spaces"
], ],
"interface-name": false, "interface-name": false,
"jsdoc-format": true, "jsdoc-format": true,
"label-position": true, "label-position": true,
"max-line-length": [ "max-line-length": [
true, true,
180 180
], ],
"member-access": false, "member-access": false,
"member-ordering": [ "member-ordering": [
true, true,
{ {
"order": [ "order": [
"static-field", "static-field",
@@ -49,121 +50,133 @@
"instance-method" "instance-method"
] ]
} }
], ],
"no-any": false, "no-any": false,
"no-arg": true, "no-arg": true,
"no-bitwise": false, "no-bitwise": false,
"no-conditional-assignment": true, "no-conditional-assignment": true,
"no-consecutive-blank-lines": true, "no-consecutive-blank-lines": true,
"no-construct": true, "no-console": [
"no-constructor-vars": false, true,
"no-debugger": true, "log",
"no-duplicate-super": true, "debug",
"no-duplicate-variable": true, "info",
"no-empty": false, "time",
"no-eval": true, "timeEnd",
"no-inferrable-types": false, "trace"
"no-internal-module": true, ],
"no-require-imports": false, "no-construct": true,
"no-shadowed-variable": true, "no-constructor-vars": false,
"no-switch-case-fall-through": true, "no-debugger": true,
"no-trailing-whitespace": true, "no-duplicate-super": true,
"no-unused-expression": true, "no-duplicate-variable": true,
"no-var-keyword": true, "no-empty": false,
"no-var-requires": true, "no-eval": true,
"object-literal-sort-keys": false, "no-inferrable-types": false,
"one-line": [ "no-internal-module": true,
true, "no-require-imports": false,
"check-open-brace", "no-shadowed-variable": true,
"check-catch", "no-switch-case-fall-through": true,
"check-else", "no-trailing-whitespace": true,
"check-whitespace" "no-unused-expression": true,
], "no-var-keyword": true,
"quotemark": [ "no-var-requires": true,
true, "object-literal-sort-keys": false,
"single", "one-line": [
"avoid-escape" true,
], "check-open-brace",
"radix": true, "check-catch",
"semicolon": [ "check-else",
true, "check-whitespace"
"always" ],
], "quotemark": [
"switch-default": true, true,
"trailing-comma": [ "single",
true, "avoid-escape"
{ ],
"multiline": "never", "radix": true,
"singleline": "never" "semicolon": [
} true,
], "always"
"triple-equals": [ ],
true, "switch-default": true,
"allow-null-check" "trailing-comma": [
], true,
"typedef": false, {
"typedef-whitespace": [ "multiline": "never",
true, "singleline": "never"
{ }
"call-signature": "nospace", ],
"index-signature": "nospace", "triple-equals": [
"parameter": "nospace", true,
"property-declaration": "nospace", "allow-null-check"
"variable-declaration": "nospace" ],
} "typedef": false,
], "typedef-whitespace": [
"use-strict": false, true,
"variable-name": [ {
true, "call-signature": "nospace",
"check-format", "index-signature": "nospace",
"allow-leading-underscore", "parameter": "nospace",
"ban-keywords" "property-declaration": "nospace",
], "variable-declaration": "nospace"
"callable-types": true, }
"import-blacklist": [ ],
true, "use-strict": false,
"rxjs" "variable-name": [
], true,
"import-spacing": true, "check-format",
"interface-over-type-literal": true, "allow-leading-underscore",
"member-access": false, "ban-keywords"
"no-empty-interface": true, ],
"no-string-literal": false, "callable-types": true,
"no-string-throw": true, "import-blacklist": [
"prefer-const": false, true,
"unified-signatures": true, "rxjs"
"whitespace": [ ],
true, "import-spacing": true,
"check-branch", "interface-over-type-literal": true,
"check-decl", "member-access": false,
"check-operator", "no-empty-interface": true,
"check-separator", "no-string-literal": false,
"check-typecast", "no-string-throw": true,
"check-type", "prefer-const": false,
"check-typecast", "unified-signatures": true,
"check-module" "whitespace": [
], true,
"component-selector": [ "check-branch",
true, "check-decl",
"element", "check-operator",
"adf", "check-separator",
"kebab-case" "check-typecast",
], "check-type",
"naming-convention": [ "check-typecast",
{"type": "enumMember", "format": "PascalCase"} "check-module"
], ],
"ordered-imports": false, "component-selector": [
"use-input-property-decorator": true, true,
"use-output-property-decorator": true, "element",
"use-host-property-decorator": false, "adf",
"use-life-cycle-interface": true, "kebab-case"
"use-pipe-transform-interface": true, ],
"component-class-suffix": true, "naming-convention": [
"directive-class-suffix": true, {
"adf-file-name": true, "type": "enumMember",
"adf-class-name": true, "format": "PascalCase"
"adf-prefix-name": true, }
"no-input-rename": true, ],
"no-output-rename": true "ordered-imports": false,
} "use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": false,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"adf-file-name": true,
"adf-class-name": true,
"adf-prefix-name": true,
"no-input-rename": true,
"no-output-rename": true
}
} }