From a5568929d87a77c2f32e6df4b8884ec5b1505ec4 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sat, 28 May 2022 10:35:06 -0400 Subject: [PATCH] use ecmaVersion: 'latest' --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8fff741..c489db5 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ module.exports = { root: true, - parserOptions: { ecmaVersion: 2022, sourceType: 'module' }, + parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, env: { es6: true, browser: true, node: true }, extends: ['eslint:recommended'], rules: {