From 1d712cabf5d78202f7247b824c843e674051c51b Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Thu, 17 Oct 2024 12:05:07 +0530 Subject: [PATCH] optional chaining analysis --- package.json | 2 +- ui/widgets/nuxeo-tag-suggestion.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 05b30b0c8..2357d8ec7 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "chai": "^4.2.0", "check-engine": "^1.10.0", "coveralls": "^3.0.2", - "eslint": "^5.15.1", + "eslint": "^9.12.0", "eslint-plugin-html": "^5.0.3", "husky": "^4.2.3", "istanbul-instrumenter-loader": "^3.0.1", diff --git a/ui/widgets/nuxeo-tag-suggestion.js b/ui/widgets/nuxeo-tag-suggestion.js index 63070d193..5b1294fbb 100644 --- a/ui/widgets/nuxeo-tag-suggestion.js +++ b/ui/widgets/nuxeo-tag-suggestion.js @@ -237,6 +237,7 @@ import { escapeHTML } from './nuxeo-selectivity.js'; } _newEntryFormatter(term) { + term = term?.toLowerCase(); return { id: term, displayLabel: term, newTag: true }; }