Upgrading ESLint and adding some more rules. Refactoring to meet these new rules

Этот коммит содержится в:
Christopher Speller
2015-09-03 10:49:36 -04:00
родитель e69e2db6b4
Коммит 4b22c1f99c
40 изменённых файлов: 359 добавлений и 207 удалений

Просмотреть файл

@@ -73,7 +73,8 @@ function setupChannelPage(teamName, teamType, teamId, channelName, channelId) {
React.render(
<Sidebar
teamDisplayName={teamName}
teamType={teamType} />,
teamType={teamType}
/>,
document.getElementById('sidebar-left')
);
@@ -190,7 +191,8 @@ function setupChannelPage(teamName, teamType, teamId, channelName, channelId) {
React.render(
<SidebarRightMenu
teamDisplayName={teamName}
teamType={teamType} />,
teamType={teamType}
/>,
document.getElementById('sidebar-menu')
);
@@ -226,7 +228,8 @@ function setupChannelPage(teamName, teamType, teamId, channelName, channelId) {
React.render(
<FileUploadOverlay
overlayType='center' />,
overlayType='center'
/>,
document.getElementById('file_upload_overlay')
);
}

Просмотреть файл

@@ -8,7 +8,8 @@ function setupLoginPage(teamDisplayName, teamName, authServices) {
<Login
teamDisplayName={teamDisplayName}
teamName={teamName}
authServices={authServices} />,
authServices={authServices}
/>,
document.getElementById('login')
);
}

Просмотреть файл

@@ -8,7 +8,8 @@ function setupSignupTeamCompletePage(email, data, hash) {
<SignupTeamComplete
email={email}
hash={hash}
data={data}/>,
data={data}
/>,
document.getElementById('signup-team-complete')
);
}

Просмотреть файл

@@ -12,7 +12,8 @@ function setupSignupUserCompletePage(email, name, uiName, id, data, hash, authSe
email={email}
hash={hash}
data={data}
authServices={authServices} />,
authServices={authServices}
/>,
document.getElementById('signup-user-complete')
);
}

Просмотреть файл

@@ -8,7 +8,8 @@ global.window.setupVerifyPage = function setupVerifyPage(isVerified, teamURL, us
<EmailVerify
isVerified={isVerified}
teamURL={teamURL}
userEmail={userEmail} />,
userEmail={userEmail}
/>,
document.getElementById('verify')
);
};