From 7b5272e92652028be2a1c6d542849222cd3d0667 Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Wed, 24 Apr 2019 12:47:46 +0100 Subject: [PATCH] Add tslint config to enable consistent lint process The lint configuration used seems to vary between build machines, and this is a bug in resin-lint. Until that's fixed, we provide another tslint which points to the resin-lint configuration. Signed-off-by: Cameron Diver --- .gitignore | 1 - tslint.json | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tslint.json diff --git a/.gitignore b/.gitignore index 3184a91b..6b0791b8 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,6 @@ package-lock.json .balenaconf resinrc.yml balenarc.yml -tslint.json .DS_Store .idea diff --git a/tslint.json b/tslint.json new file mode 100644 index 00000000..0be8c926 --- /dev/null +++ b/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "./node_modules/resin-lint/config/tslint-prettier.json", + "rules": { + "ignoreDefinitionFiles": false + } +}