text: module.exports = {
    root: true,
    parser: "@typescript-eslint/parser",
    parserOptions: {
      ecmaVersion: 9,
      ecmaFeatures: {
        jsx: false,
      },
      sourceType: "module",
    },
    env: {
      es6: true,
      node: true,
      jest: true,
      commonjs: true,
    },
    globals: {
      window: true,
      document: true,
      App: true,
      Page: true,
      Component: true,
      Behavior: true,
      wx: true,
      getCurrentPages: true,
    },
    plugins: ["@typescript-eslint", "prettier"],
    extends: [
      'eslint:recommended',
      'plugin:@typescript-eslint/eslint-recommended',
      'plugin:@typescript-eslint/recommended',
      'prettier/@typescript-eslint'
    ],
    rules: {
      "prettier/prettier": "error",
      "@typescript-eslint/ban-ts-ignore": "off",
      "@typescript-eslint/no-empty-function": "off",
      "@typescript-eslint/explicit-function-return-type": "off",
      "@typescript-eslint/no-explicit-any": "off",
      "@typescript-eslint/no-non-null-assertion": "off",
    }
  };
  