aboutsummaryrefslogtreecommitdiffstats
path: root/theme/tests/tslint.json
diff options
context:
space:
mode:
authorShankho Boron Ghosh <shankhoghosh123@gmail.com>2020-11-06 20:26:15 +0530
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-11-10 15:09:00 +0000
commitb0647613fa820df9487b32009267a3b20b65b478 (patch)
treeaf653cf62ecd274c45ab0f27dd728caa1ddf2b01 /theme/tests/tslint.json
parent57816f8bf1281e967d89ce0854060fb52ba42c81 (diff)
Added Guppy Branchguppy
Meta redirects to http://old-docs.automotivelinux.org/docs/en/guppy/getting_started/ Bug-AGL: [SPEC-3633] Signed-off-by: Shankho Boron Ghosh <shankhoghosh123@gmail.com> Change-Id: Idd21d5e00ee57f860857ef63e37d12a0930aa38e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/25536 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'theme/tests/tslint.json')
-rw-r--r--theme/tests/tslint.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/theme/tests/tslint.json b/theme/tests/tslint.json
new file mode 100644
index 0000000..5bd49b2
--- /dev/null
+++ b/theme/tests/tslint.json
@@ -0,0 +1,29 @@
+{
+ "defaultSeverity": "warning",
+ "extends": [
+ "tslint:recommended"
+ ],
+ "jsRules": {
+ "max-classes-per-file": false,
+ "no-consecutive-blank-lines": false,
+ "object-literal-sort-keys": false,
+ "one-variable-per-declaration": false,
+ "only-arrow-functions": false,
+ "quotemark": false,
+ "trailing-comma": false,
+ "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"]
+ },
+ "rules": {
+ "max-classes-per-file": false,
+ "object-literal-sort-keys": false,
+ "only-arrow-functions": false,
+ "quotemark": false,
+ "trailing-comma": [true, {"multiline": "ignore", "singleline": "never"}],
+ "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
+ "no-floating-promises": true
+ },
+ "rulesDirectory": [],
+ "linterOptions": {
+ "exclude": "**/*.js"
+ }
+}