]>
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:
456be15
)
switch to ECMA version 2018
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Tue, 19 Jan 2021 16:02:53 +0000
(17:02 +0100)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Tue, 19 Jan 2021 16:04:47 +0000
(17:04 +0100)
Mainly to enable the rest/spread operator (...variable).
Other new features include asynchronous iteration,
Promise.prototype.finally and additions to RegExp (look behind, named
capture groups, s flag)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/app.js
patch
|
blob
|
blame
|
history
diff --git
a/src/app.js
b/src/app.js
index 3cafdf96b5d747099ec3bbfd5f791479091a5d92..07ba5cb8cc8d676311e41ee1bf34d31b22b7a945 100644
(file)
--- a/
src/app.js
+++ b/
src/app.js
@@
-41,7
+41,7
@@
if (!paths.length) {
const defaultConfig = {
parserOptions: {
- ecmaVersion: 201
7
,
+ ecmaVersion: 201
8
,
ecmaFeatures: {
impliedStrict: true,
},