Skip to content

Commit

Permalink
fix(lint): added missing eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
mahabubx7 committed Oct 14, 2024
1 parent 80d08ed commit b68f579
Show file tree
Hide file tree
Showing 3 changed files with 1,127 additions and 92 deletions.
18 changes: 18 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import pluginJs from "@eslint/js"
import globals from "globals"
import tseslint from "typescript-eslint"

export default [
{ files: ["**/*.{js,mjs,cjs,ts}"] },
{ ignores: ["node_modules/", "dist/", "docs/", "playground/", "coverage/"] },
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"no-control-regex": "off"
}
}
]
Loading

0 comments on commit b68f579

Please sign in to comment.