From f26b97c22ebc5a560f6c084ffb62869262115691 Mon Sep 17 00:00:00 2001 From: Maharshi Basu Date: Mon, 12 Feb 2024 17:37:01 +0530 Subject: [PATCH 1/2] chore: update to support bslint in eslint config Signed-off-by: Maharshi Basu --- .eslintrc.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index b050f53e7..4654d837e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -43,9 +43,8 @@ } } ], - "parser": "babel-eslint", "parserOptions": { - "ecmaVersion": 10, + "ecmaVersion": "latest", "ecmaFeatures": { "globalReturn": true }, From 6a5573a8d0bd0dfc4716e4069cab3cbf593d817b Mon Sep 17 00:00:00 2001 From: Maharshi Basu Date: Mon, 12 Feb 2024 17:41:16 +0530 Subject: [PATCH 2/2] chore: match lint config file with bcrypto Signed-off-by: Maharshi Basu --- .eslintrc.json | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 4654d837e..af7e62575 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,19 +1,9 @@ { "env": { - "es6": true, + "es2024": true, "node": true }, "extends": "eslint:recommended", - "globals": { - "Atomics": "readable", - "BigInt": "readable", - "BigInt64Array": "readable", - "BigUint64Array": "readable", - "queueMicrotask": "readable", - "SharedArrayBuffer": "readable", - "TextEncoder": "readable", - "TextDecoder": "readable" - }, "overrides": [ { "files": ["*.mjs"],