mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 05:40:49 +08:00
fix: upgrade version to support top level await
This commit is contained in:
parent
5e88e24693
commit
5e5fe2ccf3
1 changed files with 1 additions and 1 deletions
2
libraries/codemirror/addon/lint/eslint.js
vendored
2
libraries/codemirror/addon/lint/eslint.js
vendored
|
|
@ -46,7 +46,7 @@
|
||||||
const errors = new eslint().verify(text, {
|
const errors = new eslint().verify(text, {
|
||||||
root: true,
|
root: true,
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 2019
|
ecmaVersion: 2022
|
||||||
},
|
},
|
||||||
extends: ['eslint:recommended', 'airbnb-base'],
|
extends: ['eslint:recommended', 'airbnb-base'],
|
||||||
env: {
|
env: {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue