| { | = | { |
| -+ | "extends": "tslint:recommended", | |
| "linterOptions": { | ||
| "exclude": [ | ||
| "src/vendor/libs/sidenav/sidenav.js", | ||
| "src/vendor/libs/mega-dropdown/mega-dropdown.js", | ||
| "e2e/protractor.conf.js" | ||
| ] | ||
| }, | ||
| "rulesDirectory": [ | = | "rulesDirectory": [ |
| "node_modules/codelyzer" | <> | "codelyzer" |
| ], | = | ], |
| "rules": { | "rules": { | |
| "arrow-return-shorthand": true, | +- | |
| "callable-types": true, | ||
| "class-name": true, | ||
| "comment-format": [ | ||
| true, | ||
| "check-space" | ||
| ], | ||
| "curly": true, | ||
| "deprecation": { | = | "deprecation": { |
| "severity": "warn" | <> | "severity": "warning" |
| }, | = | }, |
| "eofline": true, | +- | |
| "forin": true, | ||
| "import-blacklist": [ | = | "import-blacklist": [ |
| true, | true, | |
| "rxjs/Rx" | "rxjs/Rx" | |
| ], | ], | |
| "import-spacing": true, | +- | |
| "indent": [ | ||
| true, | ||
| "spaces" | ||
| ], | ||
| "interface-over-type-literal": true, | ||
| "label-position": true, | ||
| "max-line-length": [ | = | "max-line-length": [ |
| true, | true, | |
| 140 | 140 | |
| ], | ], | |
| "member-access": false, | "member-access": false, | |
| "member-ordering": [ | "member-ordering": [ | |
| true, | true, | |
| { | { | |
| "order": [ | "order": [ | |
| "static-field", | "static-field", | |
| "instance-field", | "instance-field", | |
| "static-method", | "static-method", | |
| "instance-method" | "instance-method" | |
| ] | ] | |
| } | } | |
| ], | ], | |
| "no-arg": true, | +- | |
| "no-bitwise": true, | ||
| "no-console": [ | = | "no-console": [ |
| true, | true, | |
| "debug", | "debug", | |
| "info", | "info", | |
| "time", | "time", | |
| "timeEnd", | "timeEnd", | |
| "trace" | "trace" | |
| ], | ], | |
| "no-construct": true, | +- | |
| "no-debugger": true, | ||
| "no-duplicate-super": true, | ||
| "no-empty": false, | = | "no-empty": false, |
| "no-empty-interface": true, | +- | |
| "no-eval": true, | ||
| "no-inferrable-types": [ | = | "no-inferrable-types": [ |
| true, | true, | |
| "ignore-params" | "ignore-params" | |
| ], | ], | |
| "no-misused-new": true, | +- | |
| "no-non-null-assertion": true, | = | "no-non-null-assertion": true, |
| "no-shadowed-variable": true, | +- | |
| "no-string-literal": false, | = | "no-string-literal": false, |
| "no-string-throw": true, | +- | |
| "no-switch-case-fall-through": true, | = | "no-switch-case-fall-through": true, |
| "no-trailing-whitespace": true, | +- | |
| "no-unnecessary-initializer": true, | ||
| "no-unused-expression": true, | ||
| "no-use-before-declare": true, | = | "no-use-before-declare": true, |
| "no-var-keyword": true, | +- | |
| "object-literal-sort-keys": false, | = | "object-literal-sort-keys": false, |
| "one-line": [ | +- | |
| true, | ||
| "check-open-brace", | ||
| "check-catch", | ||
| "check-else", | ||
| "check-whitespace" | ||
| ], | ||
| "prefer-const": true, | ||
| "quotemark": [ | = | "quotemark": [ |
| true, | true, | |
| "single" | "single" | |
| ], | ], | |
| <> | "no-output-on-prefix": true, | |
| "radix": true, | "no-input-rename": true, | |
| "no-output-rename": true, | ||
| "use-pipe-transform-interface": true, | ||
| "component-class-suffix": true, | ||
| "directive-class-suffix": true, | ||
| "array-type": false, | ||
| "arrow-parens": false, | ||
| "contextual-lifecycle": true, | ||
| "semicolon": [ | "directive-selector": [ | |
| true, | = | true, |
| <> | "attribute", | |
| "app", | ||
| "always" | "camelCase" | |
| ], | = | ], |
| "triple-equals": [ | <> | "component-selector": [ |
| true, | = | true, |
| <> | "element", | |
| "app", | ||
| "allow-null-check" | "kebab-case" | |
| ], | = | ], |
| "typedef-whitespace": [ | <> | |
| true, | ||
| { | ||
| "call-signature": "nospace", | "interface-name": false, | |
| "index-signature": "nospace", | "max-classes-per-file": false, | |
| "parameter": "nospace", | ||
| "property-declaration": "nospace", | ||
| "variable-declaration": "nospace" | "no-consecutive-blank-lines": false, | |
| } | ||
| ], | ||
| "unified-signatures": true, | "no-redundant-jsdoc": true, | |
| "variable-name": false, | "no-var-requires": false, | |
| "whitespace": [ | "object-literal-key-quotes": [ | |
| true, | = | true, |
| "check-branch", | <> | |
| "check-decl", | "as-needed" | |
| "check-operator", | ||
| "check-separator", | ||
| "check-type" | ||
| ], | = | ], |
| "no-output-on-prefix": true, | <> | |
| "use-input-property-decorator": true, | "ordered-imports": false, | |
| "trailing-comma": false, | ||
| "no-conflicting-lifecycle": true, | ||
| "use-output-property-decorator": true, | "no-host-metadata-property": true, | |
| "use-host-property-decorator": true, | "no-inputs-metadata-property": true, | |
| "no-input-rename": true, | "no-output-native": true, | |
| "no-output-rename": true, | "no-outputs-metadata-property": true, | |
| "use-life-cycle-interface": true, | ||
| "use-pipe-transform-interface": true, | "template-banana-in-box": true, | |
| "component-class-suffix": true, | "template-no-negated-async": true, | |
| "directive-class-suffix": true | "use-lifecycle-interface": true | |
| } | = | } |
| } | } |