Skip to content

Commit

Permalink
fix: add missing parserOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Aug 21, 2020
1 parent 3a6ca0d commit b9aaad4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
},
"overrides": [
{
"files": ["*.js"],
"files": [
"*.js"
],
"rules": {
"@typescript-eslint/no-var-requires": "off"
}
}
]
],
"parserOptions": {
"project": "./tsconfig.json"
}
}
6 changes: 6 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "tsconfig-plantain",
"compilerOptions": {
"module": "commonjs"
}
}

0 comments on commit b9aaad4

Please sign in to comment.