Skip to content

Commit

Permalink
chore: update ESLint configuration to warn on unused variables and ex…
Browse files Browse the repository at this point in the history
…plicit any types
  • Loading branch information
ifalfahri committed Jan 11, 2025
1 parent d32d7f0 commit dc32002
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ const compat = new FlatCompat({

const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
{
rules: {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "warn",
},
},
];

export default eslintConfig;

0 comments on commit dc32002

Please sign in to comment.