From 55bd1d0074d914cbf1e35193e5a3838f57d8f6f7 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 3 Sep 2023 22:37:55 -0400 Subject: [PATCH] Disable new lint rules --- eslintrc.ts.base.json | 17 ++++++++++++++++- eslintrc.ts.jest.base.json | 17 ++++++++++++++++- eslintrc.ts.react.base.json | 17 ++++++++++++++++- eslintrc.ts.react.jest.base.json | 17 ++++++++++++++++- 4 files changed, 64 insertions(+), 4 deletions(-) diff --git a/eslintrc.ts.base.json b/eslintrc.ts.base.json index 1e05bc5d..cdd3764d 100644 --- a/eslintrc.ts.base.json +++ b/eslintrc.ts.base.json @@ -11,6 +11,21 @@ "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-call": "off", - "@typescript-eslint/no-unsafe-member-access": "off" + "@typescript-eslint/no-unsafe-member-access": "off", + "@typescript-eslint/prefer-optional-chain": "off", + "@typescript-eslint/no-base-to-string": "off", + "@typescript-eslint/consistent-indexed-object-style": "off", + "@typescript-eslint/prefer-nullish-coalescing": "off", + "@typescript-eslint/consistent-type-definitions": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/prefer-for-of": "off", + "@typescript-eslint/non-nullable-type-assertion-style": "off", + "@typescript-eslint/class-literal-property-style": "off", + "@typescript-eslint/no-redundant-type-constituents": "off", + "@typescript-eslint/prefer-string-starts-ends-with": "off", + "@typescript-eslint/no-duplicate-type-constituents": "off", + "@typescript-eslint/array-type": "off", + "@typescript-eslint/prefer-function-type": "off" } } diff --git a/eslintrc.ts.jest.base.json b/eslintrc.ts.jest.base.json index 19735182..8a8cde2d 100644 --- a/eslintrc.ts.jest.base.json +++ b/eslintrc.ts.jest.base.json @@ -12,6 +12,21 @@ "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-call": "off", - "@typescript-eslint/no-unsafe-member-access": "off" + "@typescript-eslint/no-unsafe-member-access": "off", + "@typescript-eslint/prefer-optional-chain": "off", + "@typescript-eslint/no-base-to-string": "off", + "@typescript-eslint/consistent-indexed-object-style": "off", + "@typescript-eslint/prefer-nullish-coalescing": "off", + "@typescript-eslint/consistent-type-definitions": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/prefer-for-of": "off", + "@typescript-eslint/non-nullable-type-assertion-style": "off", + "@typescript-eslint/class-literal-property-style": "off", + "@typescript-eslint/no-redundant-type-constituents": "off", + "@typescript-eslint/prefer-string-starts-ends-with": "off", + "@typescript-eslint/no-duplicate-type-constituents": "off", + "@typescript-eslint/array-type": "off", + "@typescript-eslint/prefer-function-type": "off" } } diff --git a/eslintrc.ts.react.base.json b/eslintrc.ts.react.base.json index 6430d7c1..f17dc31c 100644 --- a/eslintrc.ts.react.base.json +++ b/eslintrc.ts.react.base.json @@ -31,6 +31,21 @@ "attributes": false } } - ] + ], + "@typescript-eslint/prefer-optional-chain": "off", + "@typescript-eslint/no-base-to-string": "off", + "@typescript-eslint/consistent-indexed-object-style": "off", + "@typescript-eslint/prefer-nullish-coalescing": "off", + "@typescript-eslint/consistent-type-definitions": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/prefer-for-of": "off", + "@typescript-eslint/non-nullable-type-assertion-style": "off", + "@typescript-eslint/class-literal-property-style": "off", + "@typescript-eslint/no-redundant-type-constituents": "off", + "@typescript-eslint/prefer-string-starts-ends-with": "off", + "@typescript-eslint/no-duplicate-type-constituents": "off", + "@typescript-eslint/array-type": "off", + "@typescript-eslint/prefer-function-type": "off" } } diff --git a/eslintrc.ts.react.jest.base.json b/eslintrc.ts.react.jest.base.json index 562cb23d..80fbfee6 100644 --- a/eslintrc.ts.react.jest.base.json +++ b/eslintrc.ts.react.jest.base.json @@ -14,6 +14,21 @@ "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-call": "off", - "@typescript-eslint/no-unsafe-member-access": "off" + "@typescript-eslint/no-unsafe-member-access": "off", + "@typescript-eslint/prefer-optional-chain": "off", + "@typescript-eslint/no-base-to-string": "off", + "@typescript-eslint/consistent-indexed-object-style": "off", + "@typescript-eslint/prefer-nullish-coalescing": "off", + "@typescript-eslint/consistent-type-definitions": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/prefer-for-of": "off", + "@typescript-eslint/non-nullable-type-assertion-style": "off", + "@typescript-eslint/class-literal-property-style": "off", + "@typescript-eslint/no-redundant-type-constituents": "off", + "@typescript-eslint/prefer-string-starts-ends-with": "off", + "@typescript-eslint/no-duplicate-type-constituents": "off", + "@typescript-eslint/array-type": "off", + "@typescript-eslint/prefer-function-type": "off" } }