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" ], 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",