mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-10 22:08:05 -05:00
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
This commit is contained in:
committed by
GitHub
parent
3934c68dee
commit
49bb397606
@@ -1,5 +1,9 @@
|
||||
{
|
||||
"root": true,
|
||||
|
||||
"extends": "../ui/.eslintrc.json"
|
||||
"extends": "../ui/.eslintrc.json",
|
||||
|
||||
"globals": {
|
||||
"require": true
|
||||
}
|
||||
}
|
||||
|
||||
1154
demos/search.js
1154
demos/search.js
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,8 @@
|
||||
{
|
||||
"root": true,
|
||||
|
||||
"extends": "jquery",
|
||||
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 5
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user