Skip to content

Commit 5711f95

Browse files
authored
Merge pull request #97 from github/use-typescript-parser-in-typescript-config
Use `typescript-eslint/parser` as parser in typescript config
2 parents a7b8b84 + c163a69 commit 5711f95

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/configs/typescript.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module.exports = {
22
extends: ['plugin:@typescript-eslint/recommended', 'prettier', 'prettier/@typescript-eslint'],
3-
parserOptions: {
4-
project: './tsconfig.json'
5-
},
3+
parser: '@typescript-eslint/parser',
64
plugins: ['@typescript-eslint', 'github'],
75
rules: {
86
'@typescript-eslint/array-type': ['error', {default: 'array-simple'}],

0 commit comments

Comments
 (0)