diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2024-10-17 23:47:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 23:47:29 +0200 |
commit | 49bb397606b476eacd9df2bda0388795a22fa59a (patch) | |
tree | 27e3a0919650c89f2d47dcb5222c8f941a96a844 /ui/.eslintrc.json | |
parent | 3934c68dee9ad5c7f037361e9d8b02215c1296bd (diff) | |
download | jquery-ui-49bb397606b476eacd9df2bda0388795a22fa59a.tar.gz jquery-ui-49bb397606b476eacd9df2bda0388795a22fa59a.zip |
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
Diffstat (limited to 'ui/.eslintrc.json')
-rw-r--r-- | ui/.eslintrc.json | 4 |
1 files changed, 4 insertions, 0 deletions
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 }, |