mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 18:26:38 +08:00
Update eslint.js
not sure why 'latest' is not working, but this fixes the annoying errors related to es5 being default
This commit is contained in:
parent
46573714a4
commit
08133dcf3d
1 changed files with 1 additions and 1 deletions
2
libraries/codemirror/eslint.js
vendored
2
libraries/codemirror/eslint.js
vendored
|
|
@ -46,7 +46,7 @@
|
|||
const errors = new eslint().verify(text, {
|
||||
root: true,
|
||||
parserOptions: {
|
||||
ecmaVersion: "latest"
|
||||
ecmaVersion: "2019"
|
||||
},
|
||||
extends: ['eslint:recommended', 'airbnb-base'],
|
||||
env: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue