mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
49bb397606
Some checks failed
Filestash / Update Filestash (push) Has been cancelled
Node / ${{ matrix.BROWSER }} | ${{ matrix.JQUERYS.name }}
(chrome, map[name:jQuery git versions:--jquery git --jquery 3.x-git]) (push) Has been cancelled
Node / ${{ matrix.BROWSER }} | ${{ matrix.JQUERYS.name }}
(chrome, map[name:jQuery stable versions:--jquery 3.7.1 --jquery 3.6.4 --jquery 2.2.4 --jquery 1.12.4]) (push) Has been cancelled
Node / ${{ matrix.BROWSER }} | ${{ matrix.JQUERYS.name }}
(firefox, map[name:jQuery git versions:--jquery git --jquery 3.x-git]) (push) Has been cancelled
Node / ${{ matrix.BROWSER }} | ${{ matrix.JQUERYS.name }}
(firefox, map[name:jQuery stable versions:--jquery 3.7.1 --jquery 3.6.4 --jquery 2.2.4 --jquery 1.12.4]) (push) Has been cancelled
Node / edge | ${{ matrix.JQUERYS.name }}
(map[name:jQuery git versions:--jquery git --jquery 3.x-git]) (push) Has been cancelled
Node / edge | ${{ matrix.JQUERYS.name }}
(map[name:jQuery stable versions:--jquery 3.7.1 --jquery 3.6.4 --jquery 2.2.4 --jquery 1.12.4]) (push) Has been cancelled
Node / safari | ${{ matrix.JQUERYS.name }}
(map[name:jQuery git versions:--jquery git --jquery 3.x-git]) (push) Has been cancelled
Node / safari | ${{ matrix.JQUERYS.name }}
(map[name:jQuery stable versions:--jquery 3.7.1 --jquery 3.6.4 --jquery 2.2.4 --jquery 1.12.4]) (push) Has been cancelled
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
43 lines
648 B
JSON
43 lines
648 B
JSON
{
|
|
"root": true,
|
|
|
|
"extends": "jquery",
|
|
|
|
"parserOptions": {
|
|
"ecmaVersion": 5
|
|
},
|
|
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true,
|
|
"node": false
|
|
},
|
|
|
|
"rules": {
|
|
"strict": [ "error", "function" ],
|
|
|
|
// The following rule is relaxed due to too many violations:
|
|
"no-unused-vars": [ "error", { "vars": "all", "args": "after-used" } ],
|
|
|
|
// Too many violations:
|
|
"camelcase": "off",
|
|
"no-nested-ternary": "off"
|
|
},
|
|
|
|
"globals": {
|
|
"define": false,
|
|
"Globalize": false
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": [ "i18n/**/*.js" ],
|
|
"rules": {
|
|
|
|
// We want to keep all the strings in separate single lines
|
|
"max-len": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|