Skip to content

Commit 08133dc

Browse files
authored
Update eslint.js
not sure why 'latest' is not working, but this fixes the annoying errors related to es5 being default
1 parent 4657371 commit 08133dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/codemirror/eslint.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
const errors = new eslint().verify(text, {
4747
root: true,
4848
parserOptions: {
49-
ecmaVersion: "latest"
49+
ecmaVersion: "2019"
5050
},
5151
extends: ['eslint:recommended', 'airbnb-base'],
5252
env: {

0 commit comments

Comments
 (0)