]>
git.proxmox.com Git - pve-eslint.git/commitdiff
projects
/
pve-eslint.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f14e37
)
switch to es2021
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Tue, 26 Apr 2022 09:08:39 +0000
(11:08 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Tue, 26 Apr 2022 09:08:39 +0000
(11:08 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/bin/app.js
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/app.js
b/src/bin/app.js
index 7343bebca4f0a362072525f81dd3ffa3b1c50387..c5096fca90325dd7d9c0619359aa5a605865e6cd 100644
(file)
--- a/
src/bin/app.js
+++ b/
src/bin/app.js
@@
-51,7
+51,7
@@
if (program.threads) {
const defaultConfig = {
parserOptions: {
- ecmaVersion: 202
0
,
+ ecmaVersion: 202
1
,
ecmaFeatures: {
impliedStrict: true,
},
@@
-59,7
+59,7
@@
const defaultConfig = {
env: {
browser: true,
node: true,
- es202
0: true, // automatically sets ecmaVersion to 2020 and allows es2020
globals
+ es202
1: true, // automatically sets ecmaVersion to 2021 and allows es2021
globals
},
globals: {
Ext: "writable",