From fd80951074cee691bb92d141ac49f7067fa16672 Mon Sep 17 00:00:00 2001 From: Kent Rasmussen Date: Sun, 4 May 2025 16:30:57 +0900 Subject: [PATCH 1/3] bump eslint ecmaVersion to 2020 this is supported from node v14 --- node/.eslintrc | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/node/.eslintrc b/node/.eslintrc index a806da0..541d0dc 100644 --- a/node/.eslintrc +++ b/node/.eslintrc @@ -1,25 +1,25 @@ { - "extends": ["eslint:recommended", "eslint-config-prettier"], - "env": { - "node": true - }, - "parserOptions": { - "ecmaVersion": 10 - }, - "plugins": ["prettier"], - "rules": { - "no-constant-condition": "off", - "no-dupe-else-if": "off", - "indent": "off", - "no-empty": "warn", - "no-inner-declarations": "warn", - "no-unreachable": "warn", - "no-undef": "warn", - "no-unused-vars": "warn", - "no-redeclare": "warn", - "curly": "error", - "prettier/prettier": "error", - "one-var": ["error", "never"], - "no-sequences": "error" - } + "extends": ["eslint:recommended", "eslint-config-prettier"], + "env": { + "node": true + }, + "parserOptions": { + "ecmaVersion": 2020 + }, + "plugins": ["prettier"], + "rules": { + "no-constant-condition": "off", + "no-dupe-else-if": "off", + "indent": "off", + "no-empty": "warn", + "no-inner-declarations": "warn", + "no-unreachable": "warn", + "no-undef": "warn", + "no-unused-vars": "warn", + "no-redeclare": "warn", + "curly": "error", + "prettier/prettier": "error", + "one-var": ["error", "never"], + "no-sequences": "error" + } } From 1220c103a18e226546aaebd44907d774b09bfd9c Mon Sep 17 00:00:00 2001 From: Kent Rasmussen Date: Sun, 4 May 2025 16:31:45 +0900 Subject: [PATCH 2/3] improve future_