diff options
author | 2018-09-06 15:40:05 +0300 | |
---|---|---|
committer | 2018-09-09 10:46:28 +0300 | |
commit | 3c9652b1c02454b73e0478616ec07a0d41db31a4 (patch) | |
tree | 354eb3037b8667deb92126934fb82d64fa7ae626 /tslint.json | |
parent | baac836b6aafbe8b980d29bcd0526d51026b8c48 (diff) |
Add tslint integration
Added pom.xml file to the project
Defined maven clean install stages for the project
Added temporary tslint.json file
Change-Id: I62604cdef768ceaedbb735a470848d32df60dec4
Issue-ID: SDC-1730
Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'tslint.json')
-rw-r--r-- | tslint.json | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/tslint.json b/tslint.json new file mode 100644 index 0000000..c6f7d02 --- /dev/null +++ b/tslint.json @@ -0,0 +1,108 @@ +{ + "extends": [ + "tslint:recommended", + "tslint-sonarts" + ], + "rules": { + "cognitive-complexity": false, + "trailing-comma": true, + "callable-types": true, + "class-name": true, + "comment-format": [ + true, + "check-space" + ], + "curly": true, + "eofline": true, + "forin": true, + "import-spacing": true, + "indent": [ + true, + "spaces" + ], + "max-line-length": [ + true, + 120 + ], + "member-access": false, + "member-ordering": [ + true, + { + "order": "fields-first" + } + ], + "no-arg": true, + "no-bitwise": true, + "no-console": [ + true, + "debug", + "info", + "time", + "timeEnd", + "trace" + ], + "no-construct": true, + "no-debugger": true, + "no-empty": true, + "no-empty-interface": true, + "no-eval": true, + "no-inferrable-types": false, + "no-shadowed-variable": true, + "no-string-literal": true, + "no-string-throw": true, + "no-switch-case-fall-through": true, + "no-trailing-whitespace": true, + "no-unused-expression": [ + true, + "allow-fast-null-checks" + ], + "no-var-keyword": true, + "object-literal-sort-keys": false, + "one-line": [ + true, + "check-open-brace", + "check-catch", + "check-else", + "check-whitespace" + ], + "prefer-const": true, + "quotemark": [ + true, + "single" + ], + "semicolon": [ + true, + "always" + ], + "triple-equals": [ + true, + "allow-null-check", + "allow-undefined-check" + ], + "typedef-whitespace": [ + true, + { + "call-signature": "nospace", + "index-signature": "nospace", + "parameter": "nospace", + "property-declaration": "nospace", + "variable-declaration": "nospace" + } + ], + "variable-name": [ + true, + "check-format", + "ban-keywords" + ], + "whitespace": [ + true, + "check-branch", + "check-decl", + "check-operator", + "check-module", + "check-separator", + "check-type", + "check-preblock" + ] + } +} |