Skip to content

Commit

Permalink
Build: Fix the ESLint config for demos
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgol authored Oct 17, 2024
1 parent 3934c68 commit 49bb397
Show file tree
Hide file tree
Showing 3 changed files with 586 additions and 578 deletions.
6 changes: 5 additions & 1 deletion demos/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"root": true,

"extends": "../ui/.eslintrc.json"
"extends": "../ui/.eslintrc.json",

"globals": {
"require": true
}
}
Loading

0 comments on commit 49bb397

Please sign in to comment.