From 7a07959461902826a332ba4325432c1ca66ee414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Wed, 6 Nov 2019 16:31:13 +0000 Subject: [PATCH] change default setting from a string to a object --- lib/configs/typescript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/configs/typescript.js b/lib/configs/typescript.js index 72dcdc4e..3ae24406 100644 --- a/lib/configs/typescript.js +++ b/lib/configs/typescript.js @@ -5,7 +5,7 @@ module.exports = { }, plugins: ['@typescript-eslint', 'github'], rules: { - '@typescript-eslint/array-type': ['error', 'array-simple'], + '@typescript-eslint/array-type': ['error', {default: 'array-simple'}], '@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/explicit-member-accessibility': 'off', '@typescript-eslint/explicit-function-return-type': 'off'