mirror of
https://github.com/LukeHagar/crossws.git
synced 2025-12-06 04:19:26 +00:00
chore: update eslint config
This commit is contained in:
@@ -2,14 +2,11 @@ import unjs from "eslint-config-unjs";
|
|||||||
|
|
||||||
// https://github.com/unjs/eslint-config
|
// https://github.com/unjs/eslint-config
|
||||||
export default unjs({
|
export default unjs({
|
||||||
ignores: [
|
ignores: ["types", "**/.wrangler", "**/.docs/**"],
|
||||||
"types",
|
|
||||||
"**/.wrangler",
|
|
||||||
"**/.docs/**",
|
|
||||||
],
|
|
||||||
rules: {
|
rules: {
|
||||||
"@typescript-eslint/no-unused-vars": 0,
|
"@typescript-eslint/no-unused-vars": 0,
|
||||||
"no-useless-constructor": 0,
|
"no-useless-constructor": 0,
|
||||||
"unicorn/consistent-function-scoping": 0
|
"unicorn/consistent-function-scoping": 0,
|
||||||
},
|
"@typescript-eslint/no-empty-object-type": 0,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user