mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 23:43:42 +01:00
23 lines
397 B
JavaScript
23 lines
397 B
JavaScript
![]() |
import globals from "globals";
|
||
|
import js from "@eslint/js";
|
||
|
|
||
|
export default [
|
||
|
js.configs.recommended,
|
||
|
{
|
||
|
languageOptions: {
|
||
|
globals: {
|
||
|
...globals.browser,
|
||
|
"process": "readonly",
|
||
|
},
|
||
|
},
|
||
|
rules: {
|
||
|
"no-case-declarations": "off",
|
||
|
"no-unused-vars": ["error", {
|
||
|
args: "none",
|
||
|
caughtErrorsIgnorePattern: "^_",
|
||
|
destructuredArrayIgnorePattern: "^_",
|
||
|
}],
|
||
|
},
|
||
|
},
|
||
|
];
|