gamja/eslint.config.js
2024-09-28 21:57:35 +02:00

25 lines
426 B
JavaScript

import globals from "globals";
import js from "@eslint/js";
export default [
{
ignores: ["dist/"],
},
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.browser,
"process": "readonly",
},
},
rules: {
"no-case-declarations": "off",
"no-unused-vars": ["error", {
args: "none",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
}],
},
},
];