From 37d37e4add51f1b41fcdc5868b7442d460a579c4 Mon Sep 17 00:00:00 2001 From: Nodari Chkuaselidze Date: Mon, 4 Mar 2024 16:32:07 +0400 Subject: [PATCH] pkg: update lint and docs. --- .eslintrc.json | 4 ++-- jsdoc.json | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index c1a6b0ea8..45ef023b9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,6 +1,6 @@ { "env": { - "es2020": true, + "es2022": true, "node": true }, "extends": "eslint:recommended", @@ -35,7 +35,7 @@ } ], "parserOptions": { - "ecmaVersion": 11, + "ecmaVersion": 13, "ecmaFeatures": { "globalReturn": true }, diff --git a/jsdoc.json b/jsdoc.json index ecc67ec95..df88c540b 100644 --- a/jsdoc.json +++ b/jsdoc.json @@ -8,7 +8,10 @@ "includePattern": ".+\\.js(doc)?$", "excludePattern": "(^|\\/|\\\\)_" }, - "plugins": ["plugins/markdown"], + "plugins": [ + "plugins/markdown", + "plugins/rm-imports" + ], "templates": { "cleverLinks": false, "monospaceLinks": false