maptest-bot/eslint.config.mjs

15 lines
351 B
JavaScript
Raw Normal View History

2024-04-24 05:14:01 +00:00
import globals from "globals";
import pluginJs from "@eslint/js";
export default [
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
{
rules: {
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"semi": "error"
}
}
];