From 49bb397606b476eacd9df2bda0388795a22fa59a Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Thu, 17 Oct 2024 23:47:29 +0200 Subject: Build: Fix the ESLint config for demos The ESLint config for `demos` extends the one for the `ui` directory. However, the `ui` one used to not be a root one, making the `demos` one effectively not depend on the `jquery` preset. Fix that and fix lots of lint violations in `demos/search.js`. Closes gh-2303 --- ui/.eslintrc.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui') diff --git a/ui/.eslintrc.json b/ui/.eslintrc.json index 004803729..eaba81af2 100644 --- a/ui/.eslintrc.json +++ b/ui/.eslintrc.json @@ -1,4 +1,8 @@ { + "root": true, + + "extends": "jquery", + "parserOptions": { "ecmaVersion": 5 }, -- cgit v1.2.3