123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- {
- "extends": "tslint:recommended",
- "rules": {
- "array-type": [true, "array-simple"],
- "arrow-parens": false,
- "arrow-return-shorthand": true,
- "deprecation": {
- "severity": "warning"
- },
- "component-class-suffix": true,
- "contextual-lifecycle": true,
- "curly": true,
- "directive-class-suffix": true,
- "directive-selector": [
- true,
- "attribute",
- "evt",
- "camelCase"
- ],
- "component-selector": [
- true,
- "element",
- "evt",
- "kebab-case"
- ],
- "import-blacklist": [
- true,
- "rxjs/Rx"
- ],
- "interface-name": false,
- "max-classes-per-file": false,
- "max-line-length": [
- true,
- 140
- ],
- "member-access": false,
- "member-ordering": [
- true,
- {
- "order": [
- "static-field",
- "instance-field",
- "static-method",
- "instance-method"
- ]
- }
- ],
- "no-conditional-assignment": true,
- "no-eval": true,
- "no-invalid-template-strings": true,
- "no-null-keyword": true,
- "no-shadowed-variable": true,
- "no-unsafe-finally": true,
- "no-unused-expression": true,
- "no-var-keyword": true,
- "no-consecutive-blank-lines": true,
- "no-console": [
- true,
- "debug",
- "info",
- "time",
- "timeEnd",
- "trace"
- ],
- "no-any": true,
- "no-for-in-array": true,
- "no-empty": true,
- "no-empty-interface": true,
- "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"
- ],
- "object-literal-sort-keys": false,
- "ordered-imports": true,
- "indent": [true, "spaces", 4],
- "quotemark": [
- true,
- "single",
- "avoid-escape",
- "avoid-template"
- ],
- "eofline": true,
- "import-spacing": true,
- "align": [true, "parameters", "statements", "arguments", "members", "elements"],
- "trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
- "no-conflicting-lifecycle": true,
- "no-trailing-whitespace": true,
- "no-host-metadata-property": true,
- "no-input-rename": true,
- "no-inputs-metadata-property": true,
- "no-output-native": true,
- "no-output-on-prefix": true,
- "no-output-rename": true,
- "no-outputs-metadata-property": true,
- "prefer-const": true,
- "use-isnan": true,
- "template-banana-in-box": true,
- "template-no-negated-async": true,
- "use-lifecycle-interface": true,
- "triple-equals": true,
- "no-duplicate-switch-case": true,
- "file-name-casing": [true, "kebab-case"],
- "interface-over-type-literal": true,
- "no-boolean-literal-compare": true,
- "space-before-function-paren": [true, "never"],
- "unnecessary-else": true,
- "typedef-whitespace": {
- "options": [
- {
- "call-signature": "nospace",
- "index-signature": "nospace",
- "parameter": "nospace",
- "property-declaration": "nospace",
- "variable-declaration": "nospace"
- },
- {
- "call-signature": "onespace",
- "index-signature": "onespace",
- "parameter": "onespace",
- "property-declaration": "onespace",
- "variable-declaration": "onespace"
- }
- ]
- },
- "newline-before-return": true,
- "no-irregular-whitespace": true,
- "semicolon": [true, "always"],
- "use-pipe-transform-interface": true,
- "variable-name": {
- "options": [
- "ban-keywords",
- "check-format",
- "allow-pascal-case"
- ]
- },
- "whitespace": {
- "options": [
- "check-branch",
- "check-decl",
- "check-operator",
- "check-separator",
- "check-type",
- "check-typecast"
- ]
- }
- },
- "rulesDirectory": [
- "codelyzer"
- ]
- }
|