Skip to content

Commit

Permalink
add new eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
au-re committed Oct 14, 2024
1 parent b66f1b1 commit c8e0169
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 83 deletions.
15 changes: 15 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import globals from "globals";
import tseslint from "typescript-eslint";


export default [
{ files: ["**/*.{js,mjs,cjs,ts}"] },
{ languageOptions: { globals: globals.browser } },
...tseslint.configs.recommended,
{
rules: {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
},
}
];
Loading

0 comments on commit c8e0169

Please sign in to comment.