From 36996e1c680ed25aa1890725a4eebd1b76a4ee20 Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Fri, 16 Sep 2022 03:30:39 +0200 Subject: [PATCH 1/2] disable stupid rule Signed-off-by: Henry Gressmann --- base-config.js | 1 + config-ts.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/base-config.js b/base-config.js index 09bfd48..69ac25c 100644 --- a/base-config.js +++ b/base-config.js @@ -132,6 +132,7 @@ config.overrides[0] = { }, rules: { ...cfg.rules, + '@typescript-eslint/no-redundant-type-constituents': 'off', // redundant type constituents can be great for documentation '@typescript-eslint/comma-dangle': ['off'], '@typescript-eslint/consistent-indexed-object-style': ['warn'], '@typescript-eslint/explicit-module-boundary-types': ['off'], diff --git a/config-ts.json b/config-ts.json index adb3675..2f781db 100644 --- a/config-ts.json +++ b/config-ts.json @@ -257,6 +257,9 @@ "valid-jsdoc": [ 0 ], + "@typescript-eslint/no-redundant-type-constituents": [ + "off" + ], "@typescript-eslint/comma-dangle": [ "off", "always-multiline" @@ -809,9 +812,6 @@ "colors" ] ], - "@typescript-eslint/no-redundant-type-constituents": [ - "error" - ], "@typescript-eslint/no-require-imports": [ "error" ], From f36e556fd81b5df75dbcf4b49956b88dc5090b55 Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Fri, 16 Sep 2022 03:31:03 +0200 Subject: [PATCH 2/2] 24.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b9c85de..3e2ae1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@explodingcamera/eslint-config", - "version": "24.0.0", + "version": "24.1.0", "private": false, "repository": { "type": "git",