text: /**
   * @remarks Ensures that typescript-eslint's parser only runs for the correct files.
   */
  const tsConfig = {
    extends: ['plugin:@typescript-eslint/recommended-requiring-type-checking'],
    files: ['*.tsx', '*.ts'],
    parser: require.resolve('@typescript-eslint/parser'),
    parserOptions: {
      project: './tsconfig.json',
      sourceType: 'module',
    },
  };
  
  module.exports = {
    overrides: [tsConfig],
  };
  