diff --git a/.eslintrc.yml b/.eslintrc.yml index 3db386f..e45eccf 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1339,6 +1339,7 @@ overrides: # `type` is useful '@typescript-eslint/no-type-alias': 0 '@typescript-eslint/no-redundant-type-constituents': 2 + '@typescript-eslint/no-duplicate-type-constituents': 2 ## Base types '@typescript-eslint/no-explicit-any': @@ -1374,6 +1375,7 @@ overrides: '@typescript-eslint/no-duplicate-enum-values': 2 '@typescript-eslint/no-mixed-enums': 2 '@typescript-eslint/no-unnecessary-qualifier': 2 + '@typescript-eslint/no-unsafe-enum-comparison': 2 ## Readonly '@typescript-eslint/prefer-as-const': 2 @@ -1547,6 +1549,7 @@ overrides: '@typescript-eslint/no-misused-promises': 0 '@typescript-eslint/no-mixed-enums': 0 '@typescript-eslint/non-nullable-type-assertion-style': 0 + '@typescript-eslint/no-duplicate-type-constituents': 0 '@typescript-eslint/no-redundant-type-constituents': 0 '@typescript-eslint/no-throw-literal': 0 '@typescript-eslint/no-unnecessary-boolean-literal-compare': 0 @@ -1557,6 +1560,7 @@ overrides: '@typescript-eslint/no-unsafe-argument': 0 '@typescript-eslint/no-unsafe-assignment': 0 '@typescript-eslint/no-unsafe-call': 0 + '@typescript-eslint/no-unsafe-enum-comparison': 0 '@typescript-eslint/no-unsafe-member-access': 0 '@typescript-eslint/no-unsafe-return': 0 '@typescript-eslint/prefer-includes': 0 diff --git a/package-lock.json b/package-lock.json index 36d22d9..89f8446 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,8 +20,8 @@ "node": ">=16.17.0" }, "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.55.0", - "@typescript-eslint/parser": "^5.55.0", + "@typescript-eslint/eslint-plugin": "^5.59.5", + "@typescript-eslint/parser": "^5.59.5", "eslint": "^8.40.0", "eslint-config-prettier": "^8.8.0", "eslint-config-standard": "^17.0.0", diff --git a/package.json b/package.json index fdca008..e995575 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,8 @@ "sinon": "^15.0.4" }, "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.55.0", - "@typescript-eslint/parser": "^5.55.0", + "@typescript-eslint/eslint-plugin": "^5.59.5", + "@typescript-eslint/parser": "^5.59.5", "eslint": "^8.40.0", "eslint-config-prettier": "^8.8.0", "eslint-config-standard": "^17.0.0",