Skip to content

Commit db6bcd0

Browse files
committed
benchmark-lsp: fix ESLint parsing of edex-ui-filesystem.class.js
ESLint is failing to parse edex-ui-filesystem.class.js: [snip]/edex-ui-filesystem.class.js 153:29 error Parsing error: Unexpected token dir ✖ 1 problem (1 error, 0 warnings) Fix parsing by telling ESLint to parse ECMAscript version 2017, which has support for async/await.
1 parent e6e2523 commit db6bcd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

benchmark/benchmark-lsp/eslint/.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"es6": true,
55
"node": true
66
},
7+
"parserOptions": {
8+
"ecmaVersion": 2017
9+
},
710
"extends": "eslint:recommended",
811
"rules": {
912
"no-unused-vars": ["error", {

0 commit comments

Comments
 (0)