diff --git a/packages/parser/src/index.ts b/packages/parser/src/index.ts index 1795fe1b36f3..02b7568a692d 100644 --- a/packages/parser/src/index.ts +++ b/packages/parser/src/index.ts @@ -1,6 +1,8 @@ export { parse, parseForESLint, ParserOptions } from './parser'; -export { ParserServices } from '@typescript-eslint/typescript-estree'; -export { clearCaches } from '@typescript-eslint/typescript-estree'; +export { + ParserServices, + clearCaches, +} from '@typescript-eslint/typescript-estree'; // note - cannot migrate this to an import statement because it will make TSC copy the package.json to the dist folder export const version: string = require('../package.json').version; diff --git a/packages/parser/src/parser-options.ts b/packages/parser/src/parser-options.ts deleted file mode 100644 index 025a97ed61b4..000000000000 --- a/packages/parser/src/parser-options.ts +++ /dev/null @@ -1 +0,0 @@ -export { ParserOptions } from '@typescript-eslint/types'; diff --git a/packages/parser/tests/lib/services.ts b/packages/parser/tests/lib/services.ts index 210cd39e1ea3..28cada9d251d 100644 --- a/packages/parser/tests/lib/services.ts +++ b/packages/parser/tests/lib/services.ts @@ -1,7 +1,7 @@ import path from 'path'; import fs from 'fs'; import glob from 'glob'; -import { ParserOptions } from '../../src/parser-options'; +import { ParserOptions } from '../../src/parser'; import { createSnapshotTestBlock, formatSnapshotName, diff --git a/packages/parser/tests/tools/test-utils.ts b/packages/parser/tests/tools/test-utils.ts index 3b58e4d7536b..0a14468fee0f 100644 --- a/packages/parser/tests/tools/test-utils.ts +++ b/packages/parser/tests/tools/test-utils.ts @@ -1,6 +1,6 @@ import { TSESTree } from '@typescript-eslint/typescript-estree'; import * as parser from '../../src/parser'; -import { ParserOptions } from '../../src/parser-options'; +import { ParserOptions } from '../../src/parser'; const defaultConfig = { loc: true,