mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2024-10-30 01:08:47 +00:00
170 lines
4.5 KiB
JSON
170 lines
4.5 KiB
JSON
|
{
|
||
|
"extends": "tslint:recommended",
|
||
|
"rulesDirectory": [
|
||
|
"codelyzer"
|
||
|
],
|
||
|
"rules": {
|
||
|
"align": {
|
||
|
"options": [
|
||
|
"parameters",
|
||
|
"statements"
|
||
|
]
|
||
|
},
|
||
|
"array-type": false,
|
||
|
"arrow-parens": false,
|
||
|
"arrow-return-shorthand": true,
|
||
|
"curly": true,
|
||
|
"deprecation": {
|
||
|
"severity": "warning"
|
||
|
},
|
||
|
"eofline": true,
|
||
|
"import-blacklist": [
|
||
|
true,
|
||
|
"rxjs/Rx"
|
||
|
],
|
||
|
"import-spacing": true,
|
||
|
"indent": {
|
||
|
"options": [
|
||
|
"spaces"
|
||
|
]
|
||
|
},
|
||
|
"interface-name": false,
|
||
|
"max-classes-per-file": false,
|
||
|
"max-line-length": [
|
||
|
true,
|
||
|
{
|
||
|
"limit": 180,
|
||
|
"ignore-pattern": "^import |^export | implements"
|
||
|
}
|
||
|
],
|
||
|
"member-access": false,
|
||
|
"member-ordering": [
|
||
|
true,
|
||
|
{
|
||
|
"order": [
|
||
|
"static-field",
|
||
|
"instance-field",
|
||
|
"static-method",
|
||
|
"instance-method"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"no-consecutive-blank-lines": false,
|
||
|
"no-console": [
|
||
|
true,
|
||
|
"debug",
|
||
|
"info",
|
||
|
"time",
|
||
|
"timeEnd",
|
||
|
"trace"
|
||
|
],
|
||
|
"no-empty": false,
|
||
|
"no-inferrable-types": false,
|
||
|
"no-non-null-assertion": true,
|
||
|
"no-string-literal": false,
|
||
|
"no-switch-case-fall-through": true,
|
||
|
"no-trailing-whitespace": false,
|
||
|
"no-var-requires": false,
|
||
|
"object-literal-shorthand": false,
|
||
|
"object-literal-sort-keys": false,
|
||
|
"one-line": false,
|
||
|
"ordered-imports": false,
|
||
|
"quotemark": [
|
||
|
true,
|
||
|
"single"
|
||
|
],
|
||
|
"semicolon": {
|
||
|
"options": [
|
||
|
"always"
|
||
|
]
|
||
|
},
|
||
|
"space-before-function-paren": {
|
||
|
"options": {
|
||
|
"anonymous": "never",
|
||
|
"asyncArrow": "always",
|
||
|
"constructor": "never",
|
||
|
"method": "never",
|
||
|
"named": "never"
|
||
|
}
|
||
|
},
|
||
|
"typedef": [
|
||
|
true,
|
||
|
"call-signature"
|
||
|
],
|
||
|
"trailing-comma": false,
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"variable-name": {
|
||
|
"options": [
|
||
|
"ban-keywords",
|
||
|
"allow-leading-underscore",
|
||
|
"allow-pascal-case"
|
||
|
]
|
||
|
},
|
||
|
"whitespace": {
|
||
|
"options": [
|
||
|
"check-branch",
|
||
|
"check-decl",
|
||
|
"check-operator",
|
||
|
"check-separator",
|
||
|
"check-type",
|
||
|
"check-typecast"
|
||
|
]
|
||
|
},
|
||
|
"component-class-suffix": true,
|
||
|
"contextual-lifecycle": true,
|
||
|
"directive-class-suffix": true,
|
||
|
"no-conflicting-lifecycle": 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,
|
||
|
"template-banana-in-box": true,
|
||
|
"template-no-negated-async": true,
|
||
|
"use-lifecycle-interface": true,
|
||
|
"use-pipe-transform-interface": true,
|
||
|
"directive-selector": [
|
||
|
true,
|
||
|
"attribute",
|
||
|
[
|
||
|
"fuse",
|
||
|
""
|
||
|
],
|
||
|
"camelCase"
|
||
|
],
|
||
|
"component-selector": [
|
||
|
true,
|
||
|
"element",
|
||
|
"attribute",
|
||
|
[
|
||
|
"fuse",
|
||
|
""
|
||
|
],
|
||
|
[
|
||
|
"kebab-case",
|
||
|
"camelCase"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
|