summaryrefslogtreecommitdiffstats
path: root/tslint.json
diff options
context:
space:
mode:
Diffstat (limited to 'tslint.json')
-rw-r--r--tslint.json77
1 files changed, 77 insertions, 0 deletions
diff --git a/tslint.json b/tslint.json
new file mode 100644
index 0000000..9aca897
--- /dev/null
+++ b/tslint.json
@@ -0,0 +1,77 @@
+{
+ "extends": [
+ "tslint:recommended",
+ "tslint-angular"
+ ],
+ "rulesDirectory": [
+ "node_modules/codelyzer"
+ ],
+ "rules": {
+ "member-ordering": [
+ false
+ ],
+ "angular-whitespace": [
+ true,
+ "check-interpolation",
+ "check-pipe"
+ ],
+ "banana-in-box": true,
+ "templates-no-negated-async": true,
+ "directive-selector": [
+ true,
+ "attribute", [
+ "Sdc",
+ "Onap"
+ ],
+ "camelCase"
+ ],
+ "component-selector": [
+ true,
+ "element", [
+ "sdc",
+ "onap"
+ ],
+ "kebab-case"
+ ],
+ "use-input-property-decorator": true,
+ "use-output-property-decorator": true,
+ "use-host-property-decorator": true,
+ "no-attribute-parameter-decorator": true,
+ "no-input-rename": true,
+ "no-output-rename": true,
+ "no-forward-ref": true,
+ "use-view-encapsulation": false,
+ "use-life-cycle-interface": true,
+ "use-pipe-transform-interface": true,
+ "pipe-naming": [
+ true,
+ "camelCase",
+ "Pipe"
+ ],
+ "component-class-suffix": [
+ true,
+ "Component"
+ ],
+ "directive-class-suffix": [
+ true,
+ "Directive"
+ ],
+ "templates-use-public": true,
+ "no-access-missing-member": true,
+ "invoke-injectable": true,
+ "template-to-ng-template": true,
+ "ordered-imports": [
+ false
+ ],
+ "quotemark": [
+ false
+ ],
+ "trailing-comma": [
+ false
+ ],
+ "arrow-parens": false,
+ "object-literal-sort-keys": false,
+ "object-literal-shorthand": false,
+ "max-line-length": [true, 240, "^import |^export | implements "]
+ }
+}