mirror of
https://github.com/openharmony/third_party_typescript_eslint.git
synced 2026-07-01 21:24:00 -04:00
chore(parser): clean up some unused code (#2674)
This commit is contained in:
@@ -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 +0,0 @@
|
||||
export { ParserOptions } from '@typescript-eslint/types';
|
||||
@@ -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,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,
|
||||
|
||||
Reference in New Issue
Block a user