text: module.exports = {
    env: {
      browser: false,
      es6: true,
      node: true,
    },
    extends: [
      "plugin:@typescript-eslint/eslint-recommended",
      "plugin:import/errors",
      "plugin:import/warnings",
      "plugin:import/typescript",
      "plugin:prettier/recommended",
      "plugin:security/recommended",
    ],
    globals: {
      Atomics: "readonly",
      SharedArrayBuffer: "readonly",
    },
    parser: "@typescript-eslint/parser",
    parserOptions: {
      ecmaFeatures: {
        jsx: true,
      },
      ecmaVersion: 2018,
      sourceType: "module",
    },
    plugins: ["@typescript-eslint", "security"],
    rules: {
      "@typescript-eslint/ban-ts-comment": [
        "error",
        { "ts-expect-error": "allow-with-description" },
      ],
      "import/no-unused-modules": ["warn", { unusedExports: true }],
      "security/detect-object-injection": "off",
    },
  };
  