29 lines
546 B
JavaScript
29 lines
546 B
JavaScript
import eslint from "@eslint/js"
|
|
import tseslint from "typescript-eslint"
|
|
|
|
export default tseslint.config(
|
|
{
|
|
ignores: [
|
|
"node_modules/",
|
|
"docs/",
|
|
"dist/",
|
|
"@girs/",
|
|
"**/*.js",
|
|
"**/*.d.ts",
|
|
],
|
|
},
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{ argsIgnorePattern: "^_" },
|
|
],
|
|
"no-empty": "off",
|
|
"no-undef": "off",
|
|
},
|
|
},
|
|
)
|