2024-09-28 21:45:45 +02:00
|
|
|
import globals from "globals";
|
|
|
|
import js from "@eslint/js";
|
|
|
|
|
|
|
|
export default [
|
|
|
|
js.configs.recommended,
|
|
|
|
{
|
2024-09-28 21:49:13 +02:00
|
|
|
ignores: ["dist/"],
|
2024-09-28 21:45:45 +02:00
|
|
|
languageOptions: {
|
|
|
|
globals: {
|
|
|
|
...globals.browser,
|
|
|
|
"process": "readonly",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
"no-case-declarations": "off",
|
|
|
|
"no-unused-vars": ["error", {
|
|
|
|
args: "none",
|
|
|
|
caughtErrorsIgnorePattern: "^_",
|
|
|
|
destructuredArrayIgnorePattern: "^_",
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|