mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
22 lines
397 B
JavaScript
22 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: "^_",
|
|
}],
|
|
},
|
|
},
|
|
];
|