Skip to content

Commit

Permalink
default open jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Dec 28, 2020
1 parent 3a8559e commit 9807924
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import * as path from 'path';
import * as fs from 'fs';
import tsEslintConfig from './tsEslintConfig';

const parserOptions: {
tsconfigRootDir?: string;
project?: string;
createDefaultProgram?: boolean;
} = {
const parserOptions = {
ecmaFeatures: {
jsx: true,
},
project: './tsconfig.json',
};

Expand Down

0 comments on commit 9807924

Please sign in to comment.