chore(lint): Autofix react/jsx-boolean-value always.
This commit is contained in:
Родитель
3ce8ece2d2
Коммит
b641131de6
|
@ -30,6 +30,7 @@
|
|||
"mozilla/import-globals-from": 1,
|
||||
"mozilla/this-top-level-scope": 1,
|
||||
|
||||
"react/jsx-boolean-value": [2, "always"],
|
||||
"react/jsx-equals-spacing": [2, "never"],
|
||||
"react/jsx-no-duplicate-props": 2,
|
||||
"react/jsx-no-undef": 2,
|
||||
|
|
|
@ -31,7 +31,7 @@ const MediaPreview = React.createClass({
|
|||
type="text/html"
|
||||
ref="previewPlayer"
|
||||
frameBorder="0"
|
||||
allowFullScreen />);
|
||||
allowFullScreen={true} />);
|
||||
}
|
||||
|
||||
const style = previewInfo.thumbnail ? {backgroundImage: `url(${previewInfo.thumbnail.url})`} : null;
|
||||
|
|
|
@ -57,7 +57,7 @@ const NewTabPage = React.createClass({
|
|||
className="loading-notice"
|
||||
show={!this.props.isReady}
|
||||
label="Hang on tight! We are analyzing your history to personalize your experience"
|
||||
centered
|
||||
centered={true}
|
||||
/>
|
||||
|
||||
<div className={classNames("show-on-init", {on: this.props.isReady})}>
|
||||
|
|
|
@ -43,7 +43,7 @@ const TopSites = React.createClass({
|
|||
const isActive = this.state.showContextMenu && this.state.activeTile === i;
|
||||
return (<div className={classNames("tile-outer", {active: isActive})} key={site.guid || site.cache_key || i}>
|
||||
<a onClick={() => this.onClick(i)} className="tile" href={site.url}>
|
||||
<SiteIcon className="tile-img-container" site={site} faviconSize={32} showTitle />
|
||||
<SiteIcon className="tile-img-container" site={site} faviconSize={32} showTitle={true} />
|
||||
<div className="inner-border" />
|
||||
</a>
|
||||
<LinkMenuButton onClick={ev => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче