Skip to content

Commit

Permalink
Merge pull request #97 from github/use-typescript-parser-in-typescrip…
Browse files Browse the repository at this point in the history
…t-config

Use `typescript-eslint/parser` as parser in typescript config
  • Loading branch information
koddsson committed Mar 19, 2020
2 parents a7b8b84 + c163a69 commit 5711f95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/configs/typescript.js
@@ -1,8 +1,6 @@
module.exports = {
extends: ['plugin:@typescript-eslint/recommended', 'prettier', 'prettier/@typescript-eslint'],
parserOptions: {
project: './tsconfig.json'
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'github'],
rules: {
'@typescript-eslint/array-type': ['error', {default: 'array-simple'}],
Expand Down

0 comments on commit 5711f95

Please sign in to comment.