diff --git a/index.js b/index.js index 5db0f35..7e17a71 100644 --- a/index.js +++ b/index.js @@ -32,14 +32,10 @@ export default defineConfig([{ "@typescript-eslint/no-redundant-type-constituents": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-qualifier": "error", - "@typescript-eslint/no-unnecessary-condition": "error", "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/prefer-string-starts-ends-with": "error", "@typescript-eslint/await-thenable": "error", - "@typescript-eslint/no-floating-promises": "error", - "@typescript-eslint/no-for-in-array": "error", - "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-call": "error", @@ -48,14 +44,10 @@ export default defineConfig([{ "@typescript-eslint/prefer-nullish-coalescing": "error", "@typescript-eslint/restrict-plus-operands": "error", "@typescript-eslint/restrict-template-expressions": "error", - "@typescript-eslint/switch-exhaustiveness-check": "error", "@typescript-eslint/unbound-method": "error", "@typescript-eslint/no-duplicate-enum-values": "error", - "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", - "@typescript-eslint/unified-signatures": "error", "@typescript-eslint/promise-function-async": "error", - "@typescript-eslint/require-array-sort-compare": "error", "@typescript-eslint/no-mixed-enums": "error", "@typescript-eslint/no-unsafe-enum-comparison": "error", }, diff --git a/package-lock.json b/package-lock.json index dac43ae..cdcf6d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kontent-ai/eslint-config", - "version": "2.2.1", + "version": "2.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@kontent-ai/eslint-config", - "version": "2.2.1", + "version": "2.3.0", "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "^8.46.3", diff --git a/package.json b/package.json index 36ab2be..cc3a795 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kontent-ai/eslint-config", - "version": "2.2.1", + "version": "2.3.0", "description": "Eslint configuration used for packages in Kontent.ai", "main": "index.js", "private": false, diff --git a/react.js b/react.js index c1d4bae..b3266e3 100644 --- a/react.js +++ b/react.js @@ -8,7 +8,6 @@ export default defineConfig([{ react: reactPlugin, }, rules: { - "react/jsx-boolean-value": "error", "react/jsx-equals-spacing": "error", "react/jsx-filename-extension": ["error", { extensions: [".tsx"] }], "react/jsx-first-prop-new-line": ["error", "multiline"], @@ -45,9 +44,6 @@ export default defineConfig([{ "react/no-unknown-property": ["error", { ignore: ["css"] }], "react/no-typos": "error", "react/no-this-in-sfc": "error", - "react/self-closing-comp": "error", "react/style-prop-object": "error", - "react/jsx-no-leaked-render": "error", - "react/prefer-stateless-function": "error", }, }]);