X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftslint.json;h=1b28e679b8d66a388509a893cde3bd3dbd8b793e;hb=404f0c0f54398c23b605679d0eb476d9fecc5df2;hp=fcc866ee38ab7526e741c5cd96a37cc97451d435;hpb=6d8c8ea73a774c3568e6d28a4cbebcf7979d5c2a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tslint.json b/client/tslint.json index fcc866ee3..1b28e679b 100644 --- a/client/tslint.json +++ b/client/tslint.json @@ -1,12 +1,12 @@ { - "extends": "tslint-config-standard", - "rulesDirectory": ["./node_modules/codelyzer"], + "extends": [ "tslint-angular", "tslint-config-standard" ], "rules": { "no-inferrable-types": true, "eofline": true, "max-line-length": [true, 140], "no-floating-promises": false, "no-unused-variable": false, // Memory issues + "await-promise": [true, "PromiseLike"], "member-ordering": [true, { "order": [ "public-static-field", @@ -20,28 +20,18 @@ "private-instance-method" ]} ], + "variable-name": [ + true, + "ban-keywords", + "check-format", + "allow-leading-underscore", + "allow-pascal-case", + "allow-trailing-underscore" + ], - "angular-whitespace": [true, "check-interpolation", "check-semicolon"], - "banana-in-box": true, - "templates-no-negated-async": true, - "directive-selector": [true, "attribute", "my", "camelCase"], - "component-selector": [true, "element", "my", "kebab-case"], - "use-input-property-decorator": true, - "use-output-property-decorator": true, - "use-host-property-decorator": true, - "use-view-encapsulation": true, - "no-attribute-parameter-decorator": true, - "no-input-rename": true, - "no-output-rename": true, - "no-output-on-prefix": true, - "no-forward-ref": false, - "use-life-cycle-interface": true, - "contextual-life-cycle": true, - "trackBy-function": false, - "use-pipe-transform-interface": true, - "pipe-prefix": [true, "my"], - "component-class-suffix": true, - "directive-class-suffix": true, - "pipe-impure": true + "no-shadowed-variable": false, + "no-bitwise": false, + "max-classes-per-file": false, + "interface-over-type-literal": false } }