Skip to content

Commit

Permalink
add ts parser
Browse files Browse the repository at this point in the history
  • Loading branch information
huuyafwww committed Nov 28, 2024
1 parent 4249429 commit 9cdd940
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import stylisticTs from '@stylistic/eslint-plugin-ts';
// import parser from '@typescript-eslint/parser';
import parser from '@typescript-eslint/parser';
import tseslint from 'typescript-eslint';

import { files } from '../files';
Expand All @@ -21,6 +21,7 @@ export const typescriptConfigurator: Configurator<typescriptConfiguratorOptions>
files,
languageOptions: {
parserOptions: {
parser,
warnOnUnsupportedTypeScriptVersion: false,
project: options.tsconfigPath,
tsconfigRootDir: process.cwd(),
Expand Down

0 comments on commit 9cdd940

Please sign in to comment.