1 import Globals from "globals";
2 import Html from "eslint-plugin-html";
3 import Js from "@eslint/js";
4 import Stylistic from "@stylistic/eslint-plugin";
5 import * as RegexpPlugin from "eslint-plugin-regexp";
8 Js.configs.recommended,
9 RegexpPlugin.configs["flat/recommended"],
10 Stylistic.configs["disable-legacy"],
29 "curly": ["error", "multi-or-nest", "consistent"],
31 "guard-for-in": "error",
33 "no-unused-vars": "off",
35 "operator-assignment": "error",
36 "prefer-arrow-callback": "error",
37 "prefer-const": "error",
39 "Stylistic/no-mixed-operators": [
43 ["&", "|", "^", "~", "<<", ">>", ">>>", "==", "!=", "===", "!==", ">", ">=", "<", "<=", "&&", "||", "in", "instanceof"]
47 "Stylistic/nonblock-statement-body-position": ["error", "below"],
53 "allowTemplateLiterals": true
56 "Stylistic/semi": "error",
57 "Stylistic/spaced-comment": ["error", "always", { "exceptions": ["*"] }]