34 changed files with 950 additions and 346 deletions
@ -0,0 +1,67 @@ |
|||
{ |
|||
"root": true, |
|||
"ignorePatterns": [ |
|||
"projects/**/*" |
|||
], |
|||
"overrides": [ |
|||
{ |
|||
"files": [ |
|||
"*.ts" |
|||
], |
|||
"parserOptions": { |
|||
"project": [ |
|||
"tsconfig.json", |
|||
"e2e/tsconfig.json" |
|||
], |
|||
"createDefaultProgram": true |
|||
}, |
|||
"extends": [ |
|||
"plugin:@angular-eslint/ng-cli-compat", |
|||
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on", |
|||
"plugin:@angular-eslint/template/process-inline-templates" |
|||
], |
|||
"rules": { |
|||
"@typescript-eslint/explicit-member-accessibility": [ |
|||
"off", |
|||
{ |
|||
"accessibility": "explicit" |
|||
} |
|||
], |
|||
"arrow-parens": [ |
|||
"off", |
|||
"always" |
|||
], |
|||
"@angular-eslint/component-selector": [ |
|||
"error", |
|||
{ |
|||
"prefix": [ "tb" ] |
|||
} |
|||
], |
|||
"id-blacklist": [ |
|||
"error", |
|||
"any", |
|||
"Number", |
|||
"String", |
|||
"string", |
|||
"Boolean", |
|||
"boolean", |
|||
"Undefined", |
|||
"undefined" |
|||
], |
|||
"import/order": "off", |
|||
"@typescript-eslint/member-ordering": "off", |
|||
"no-underscore-dangle": "off", |
|||
"@typescript-eslint/naming-convention": "off" |
|||
} |
|||
}, |
|||
{ |
|||
"files": [ |
|||
"*.html" |
|||
], |
|||
"extends": [ |
|||
"plugin:@angular-eslint/template/recommended" |
|||
], |
|||
"rules": {} |
|||
} |
|||
] |
|||
} |
|||
@ -1,139 +0,0 @@ |
|||
{ |
|||
"extends": "tslint:recommended", |
|||
"rulesDirectory": [ |
|||
"codelyzer" |
|||
], |
|||
"rules": { |
|||
"align": { |
|||
"options": [ |
|||
"parameters", |
|||
"statements" |
|||
] |
|||
}, |
|||
"array-type": false, |
|||
"arrow-parens": false, |
|||
"arrow-return-shorthand": true, |
|||
"curly": true, |
|||
"deprecation": { |
|||
"severity": "warn" |
|||
}, |
|||
"eofline": true, |
|||
"import-blacklist": [ |
|||
true, |
|||
"rxjs/Rx", |
|||
"^.*/public-api$" |
|||
], |
|||
"import-spacing": true, |
|||
"indent": { |
|||
"options": [ |
|||
"spaces" |
|||
] |
|||
}, |
|||
"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-consecutive-blank-lines": false, |
|||
"no-console": [ |
|||
true, |
|||
"debug", |
|||
"info", |
|||
"time", |
|||
"timeEnd", |
|||
"trace" |
|||
], |
|||
"no-empty": false, |
|||
"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": false, |
|||
"quotemark": [ |
|||
true, |
|||
"single" |
|||
], |
|||
"semicolon": { |
|||
"options": [ |
|||
"always" |
|||
] |
|||
}, |
|||
"space-before-function-paren": { |
|||
"options": { |
|||
"anonymous": "never", |
|||
"asyncArrow": "always", |
|||
"constructor": "never", |
|||
"method": "never", |
|||
"named": "never" |
|||
} |
|||
}, |
|||
"trailing-comma": false, |
|||
"no-output-on-prefix": 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" |
|||
} |
|||
] |
|||
}, |
|||
"use-input-property-decorator": true, |
|||
"use-output-property-decorator": true, |
|||
"use-host-property-decorator": true, |
|||
"no-input-rename": true, |
|||
"no-output-rename": true, |
|||
"use-life-cycle-interface": true, |
|||
"use-pipe-transform-interface": true, |
|||
"component-class-suffix": true, |
|||
"directive-class-suffix": 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" |
|||
] |
|||
} |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
Loading…
Reference in new issue