From 936ce5afedda5e91abff052fb885cc8871e1e7d4 Mon Sep 17 00:00:00 2001 From: Bobby Date: Sat, 4 Jun 2022 03:49:54 +0700 Subject: [PATCH] fix: bump eslint ecmaVersion to 10 (ES2019) according to https://node.green/#ES2019, since Node 12.4.0+ already have 100% support of ES2019 features. --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index eccc204..5549636 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,7 +1,7 @@ module.exports = { root: true, parserOptions: { - ecmaVersion: 9 // 2018 + ecmaVersion: 10 // 2019 }, env: { node: true