Skip to content

Commit

Permalink
feat(es): update ES parser to 2018
Browse files Browse the repository at this point in the history
node >=10 supports all ES2018 syntax (but not all ES2018 features), so this is a sensible choice of
parser.
  • Loading branch information
djcsdy committed Sep 10, 2020
1 parent 26a337a commit 5f6b067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const config: Linter.Config = {
extends: ["eslint:recommended", "prettier"],
plugins: ["@typescript-eslint", "import", "jsdoc", "prefer-arrow", "@typescript-eslint/tslint"],
parserOptions: {
ecmaVersion: 6,
ecmaVersion: 2018,
sourceType: "module"
},
overrides: [
Expand Down

0 comments on commit 5f6b067

Please sign in to comment.