chore(parser): clean up some unused code (#2674)

This commit is contained in:
koooge
2020-10-15 19:43:47 +02:00
committed by GitHub
parent ab43335caf
commit 2dafcd50aa
4 changed files with 6 additions and 5 deletions
+4 -2
View File
@@ -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;
-1
View File
@@ -1 +0,0 @@
export { ParserOptions } from '@typescript-eslint/types';
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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,