mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-28 10:16:40 -05:00
26 lines
448 B
JavaScript
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",
|
|
},
|
|
},
|
|
];
|