text: module.exports = {
    root: true,
    env: {
      node: true,
    },
    parser: '@typescript-eslint/parser',
    plugins: ['@typescript-eslint'],
    extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking',],
    parserOptions: {
      ecmaVersion: 2021,
      sourceType: "module",
      project: ["./tsconfig.json"],
      tsconfigRootDir: __dirname,
    },
    ignorePatterns: ['*.js', 'scripts'],
    overrides: [
      {
        files: 'scripts/**/*.ts',
        rules: {
          'no-console': 'off',
          '@typescript-eslint/no-var-requires': 'off',
          '@typescript-eslint/no-namespace': 'off',
        },
      },
    ],
  };
  