mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
[skip sauce] [skip validator]
This commit is contained in:
parent
36f2261b6f
commit
c955868982
@ -13,6 +13,7 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
|
|
||||||
// Possible Errors
|
// Possible Errors
|
||||||
|
"array-callback-return": "error",
|
||||||
"comma-dangle": ["error", "never"],
|
"comma-dangle": ["error", "never"],
|
||||||
"handle-callback-err": "error",
|
"handle-callback-err": "error",
|
||||||
"no-bitwise": "error",
|
"no-bitwise": "error",
|
||||||
@ -27,9 +28,11 @@
|
|||||||
"no-duplicate-imports": "error",
|
"no-duplicate-imports": "error",
|
||||||
"no-empty": "error",
|
"no-empty": "error",
|
||||||
"no-empty-character-class": "error",
|
"no-empty-character-class": "error",
|
||||||
|
"no-empty-function": "error",
|
||||||
"no-empty-pattern": "error",
|
"no-empty-pattern": "error",
|
||||||
"no-ex-assign": "error",
|
"no-ex-assign": "error",
|
||||||
"no-extra-boolean-cast": "error",
|
"no-extra-boolean-cast": "error",
|
||||||
|
"no-extra-label": "error",
|
||||||
"no-extra-parens": "off",
|
"no-extra-parens": "off",
|
||||||
"no-extra-semi": "error",
|
"no-extra-semi": "error",
|
||||||
"no-func-assign": "error",
|
"no-func-assign": "error",
|
||||||
@ -43,7 +46,9 @@
|
|||||||
"no-self-assign": "error",
|
"no-self-assign": "error",
|
||||||
"no-sparse-arrays": "error",
|
"no-sparse-arrays": "error",
|
||||||
"no-unexpected-multiline": "error",
|
"no-unexpected-multiline": "error",
|
||||||
|
"no-unmodified-loop-condition": "error",
|
||||||
"no-unreachable": "error",
|
"no-unreachable": "error",
|
||||||
|
"no-unused-labels": "error",
|
||||||
"no-useless-escape": "error",
|
"no-useless-escape": "error",
|
||||||
"no-useless-rename": "error",
|
"no-useless-rename": "error",
|
||||||
"use-isnan": "error",
|
"use-isnan": "error",
|
||||||
@ -99,6 +104,7 @@
|
|||||||
"no-unused-expressions": "error",
|
"no-unused-expressions": "error",
|
||||||
"no-useless-call": "error",
|
"no-useless-call": "error",
|
||||||
"no-useless-concat": "error",
|
"no-useless-concat": "error",
|
||||||
|
"no-useless-constructor": "error",
|
||||||
"no-void": "error",
|
"no-void": "error",
|
||||||
"no-warning-comments": "off",
|
"no-warning-comments": "off",
|
||||||
"no-with": "error",
|
"no-with": "error",
|
||||||
@ -157,7 +163,9 @@
|
|||||||
"no-unneeded-ternary": "error",
|
"no-unneeded-ternary": "error",
|
||||||
"no-unsafe-finally": "error",
|
"no-unsafe-finally": "error",
|
||||||
"no-useless-computed-key": "error",
|
"no-useless-computed-key": "error",
|
||||||
|
"no-whitespace-before-property": "error",
|
||||||
"object-curly-spacing": ["warn", "always"],
|
"object-curly-spacing": ["warn", "always"],
|
||||||
|
"object-property-newline": "error",
|
||||||
"one-var": "off",
|
"one-var": "off",
|
||||||
"operator-assignment": "error",
|
"operator-assignment": "error",
|
||||||
"operator-linebreak": "off",
|
"operator-linebreak": "off",
|
||||||
@ -189,6 +197,7 @@
|
|||||||
"prefer-arrow-callback": "error",
|
"prefer-arrow-callback": "error",
|
||||||
"prefer-const": "off",
|
"prefer-const": "off",
|
||||||
"prefer-reflect": "off",
|
"prefer-reflect": "off",
|
||||||
|
"prefer-rest-params": "error",
|
||||||
"prefer-spread": "error",
|
"prefer-spread": "error",
|
||||||
"prefer-template": "error",
|
"prefer-template": "error",
|
||||||
"require-yield": "error"
|
"require-yield": "error"
|
||||||
|
@ -40,7 +40,7 @@ const Util = (($) => {
|
|||||||
delegateType: transition.end,
|
delegateType: transition.end,
|
||||||
handle(event) {
|
handle(event) {
|
||||||
if ($(event.target).is(this)) {
|
if ($(event.target).is(this)) {
|
||||||
return event.handleObj.handler.apply(this, arguments)
|
return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params
|
||||||
}
|
}
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user