From 46fb9c09ab2590d684b56501fc79f6ee4e4714f5 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Wed, 13 Jan 2021 03:00:07 -0500 Subject: [PATCH] :shirt: Add quotemark rule to tslint (#1330) --- packages/nodes-base/nodes/WooCommerce/OrderInterface.ts | 2 +- packages/nodes-base/nodes/Zulip/StreamDescription.ts | 2 +- packages/nodes-base/nodes/Zulip/UserDescription.ts | 2 +- packages/nodes-base/nodes/utils/allCurrencies.ts | 2 +- packages/nodes-base/tslint.json | 4 ++++ 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/nodes-base/nodes/WooCommerce/OrderInterface.ts b/packages/nodes-base/nodes/WooCommerce/OrderInterface.ts index 2d09576ee7..74e5ce7376 100644 --- a/packages/nodes-base/nodes/WooCommerce/OrderInterface.ts +++ b/packages/nodes-base/nodes/WooCommerce/OrderInterface.ts @@ -1,4 +1,4 @@ -import { IDataObject } from "n8n-workflow"; +import { IDataObject } from 'n8n-workflow'; export interface IAddress { first_name?: string; diff --git a/packages/nodes-base/nodes/Zulip/StreamDescription.ts b/packages/nodes-base/nodes/Zulip/StreamDescription.ts index a0d4e74ffe..bccf8cf1d3 100644 --- a/packages/nodes-base/nodes/Zulip/StreamDescription.ts +++ b/packages/nodes-base/nodes/Zulip/StreamDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from "n8n-workflow"; +import { INodeProperties } from 'n8n-workflow'; export const streamOperations = [ { diff --git a/packages/nodes-base/nodes/Zulip/UserDescription.ts b/packages/nodes-base/nodes/Zulip/UserDescription.ts index 82bda37554..1890f71c9d 100644 --- a/packages/nodes-base/nodes/Zulip/UserDescription.ts +++ b/packages/nodes-base/nodes/Zulip/UserDescription.ts @@ -1,4 +1,4 @@ -import { INodeProperties } from "n8n-workflow"; +import { INodeProperties } from 'n8n-workflow'; export const userOperations = [ { diff --git a/packages/nodes-base/nodes/utils/allCurrencies.ts b/packages/nodes-base/nodes/utils/allCurrencies.ts index 0486ff32ce..20741ae302 100644 --- a/packages/nodes-base/nodes/utils/allCurrencies.ts +++ b/packages/nodes-base/nodes/utils/allCurrencies.ts @@ -144,7 +144,7 @@ const allCurrencies = [ { name: 'Tajikistani Somoni', value: 'tjs' }, { name: 'Turkmenistani Manat', value: 'tmt' }, { name: 'Tunisian Dinar', value: 'tnd' }, - { name: "Tongan Pa'anga", value: 'top' }, + { name: `Tongan Pa'anga`, value: 'top' }, { name: 'Turkish Lira', value: 'try' }, { name: 'Trinidad and Tobago Dollar', value: 'ttd' }, { name: 'New Taiwan Dollar', value: 'twd' }, diff --git a/packages/nodes-base/tslint.json b/packages/nodes-base/tslint.json index a255e6b0fd..ed50fe2fbc 100644 --- a/packages/nodes-base/tslint.json +++ b/packages/nodes-base/tslint.json @@ -104,6 +104,10 @@ "allow-null-check" ], "use-isnan": true, + "quotemark": [ + true, + "single" + ], "quotes": [ "error", "single"