mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-16 06:39:59 +00:00
Enable the no-return-assign
rule.
This commit is contained in:
parent
ef8c77d8dc
commit
6063b0dc65
@ -74,7 +74,7 @@
|
||||
"no-param-reassign": "off",
|
||||
"no-proto": "error",
|
||||
"no-restricted-properties": "error",
|
||||
"no-return-assign": "off",
|
||||
"no-return-assign": "error",
|
||||
"no-return-await": "error",
|
||||
"no-script-url": "error",
|
||||
"no-self-compare": "error",
|
||||
|
@ -114,7 +114,8 @@ const Popover = (($) => {
|
||||
}
|
||||
|
||||
getTipElement() {
|
||||
return this.tip = this.tip || $(this.config.template)[0]
|
||||
this.tip = this.tip || $(this.config.template)[0]
|
||||
return this.tip
|
||||
}
|
||||
|
||||
setContent() {
|
||||
|
@ -415,7 +415,8 @@ const Tooltip = (($) => {
|
||||
}
|
||||
|
||||
getTipElement() {
|
||||
return this.tip = this.tip || $(this.config.template)[0]
|
||||
this.tip = this.tip || $(this.config.template)[0]
|
||||
return this.tip
|
||||
}
|
||||
|
||||
setContent() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user