Skip to content

Commit

Permalink
chore(eslint): 🔧 remove deprecated @typescript-eslint/ban-types rule
Browse files Browse the repository at this point in the history
- Removed the deprecated `@typescript-eslint/ban-types` rule from the ESLint configuration.
- Retained other essential linting rules for React, TypeScript, and accessibility best practices.
  • Loading branch information
Zyruks committed Sep 22, 2024
1 parent 16be426 commit 27488a0
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/config/eslint/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** @type {import("eslint").Linter.Config} */
/** @type {import('eslint').Linter.Config} */
const config = {
extends: [
'next',
Expand All @@ -18,14 +18,6 @@ const config = {
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-misused-promises': 'warn',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/ban-types': [
'error',
{
types: {
'{}': false,
},
},
],
'@typescript-eslint/no-unused-vars': [
'error',
{
Expand Down

0 comments on commit 27488a0

Please sign in to comment.