gamja/eslint.config.js
2024-09-28 22:07:39 +02:00

26 lines
448 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: "^_",
}],
"no-var": "error",
},
},
];