👌 remove eslint-disable-lines
This commit is contained in:
parent
d2dcc1fee2
commit
dd37c7731d
6 changed files with 16 additions and 16 deletions
|
@ -478,7 +478,7 @@ IDEView.propTypes = {
|
|||
ide: PropTypes.shape({
|
||||
isPlaying: PropTypes.bool.isRequired,
|
||||
isAccessibleOutputPlaying: PropTypes.bool.isRequired,
|
||||
consoleEvent: PropTypes.array, // eslint-disable-line
|
||||
consoleEvent: PropTypes.array,
|
||||
modalIsVisible: PropTypes.bool.isRequired,
|
||||
sidebarIsExpanded: PropTypes.bool.isRequired,
|
||||
consoleIsExpanded: PropTypes.bool.isRequired,
|
||||
|
@ -513,7 +513,7 @@ IDEView.propTypes = {
|
|||
updatedAt: PropTypes.string
|
||||
}).isRequired,
|
||||
editorAccessibility: PropTypes.shape({
|
||||
lintMessages: PropTypes.array.isRequired, // eslint-disable-line
|
||||
lintMessages: PropTypes.array.isRequired,
|
||||
}).isRequired,
|
||||
updateLintMessage: PropTypes.func.isRequired,
|
||||
clearLintMessage: PropTypes.func.isRequired,
|
||||
|
|
|
@ -8,8 +8,8 @@ import CopyableInput from '../../IDE/components/CopyableInput';
|
|||
import APIKeyList from './APIKeyList';
|
||||
|
||||
export const APIKeyPropType = PropTypes.shape({
|
||||
id: PropTypes.object.isRequired, // eslint-disable-line
|
||||
token: PropTypes.object, // eslint-disable-line
|
||||
id: PropTypes.object.isRequired,
|
||||
token: PropTypes.object,
|
||||
label: PropTypes.string.isRequired,
|
||||
createdAt: PropTypes.string.isRequired,
|
||||
lastUsedAt: PropTypes.string,
|
||||
|
|
|
@ -103,10 +103,10 @@ function AccountForm(props) {
|
|||
|
||||
AccountForm.propTypes = {
|
||||
fields: PropTypes.shape({
|
||||
username: PropTypes.object.isRequired, // eslint-disable-line
|
||||
email: PropTypes.object.isRequired, // eslint-disable-line
|
||||
currentPassword: PropTypes.object.isRequired, // eslint-disable-line
|
||||
newPassword: PropTypes.object.isRequired, // eslint-disable-line
|
||||
username: PropTypes.object.isRequired,
|
||||
email: PropTypes.object.isRequired,
|
||||
currentPassword: PropTypes.object.isRequired,
|
||||
newPassword: PropTypes.object.isRequired,
|
||||
}).isRequired,
|
||||
user: PropTypes.shape({
|
||||
verified: PropTypes.number.isRequired,
|
||||
|
|
|
@ -44,8 +44,8 @@ function LoginForm(props) {
|
|||
|
||||
LoginForm.propTypes = {
|
||||
fields: PropTypes.shape({
|
||||
email: PropTypes.object.isRequired, // eslint-disable-line
|
||||
password: PropTypes.object.isRequired // eslint-disable-line
|
||||
email: PropTypes.object.isRequired,
|
||||
password: PropTypes.object.isRequired
|
||||
}).isRequired,
|
||||
handleSubmit: PropTypes.func.isRequired,
|
||||
validateAndLoginUser: PropTypes.func.isRequired,
|
||||
|
|
|
@ -43,8 +43,8 @@ function NewPasswordForm(props) {
|
|||
|
||||
NewPasswordForm.propTypes = {
|
||||
fields: PropTypes.shape({
|
||||
password: PropTypes.object.isRequired, // eslint-disable-line
|
||||
confirmPassword: PropTypes.object.isRequired // eslint-disable-line
|
||||
password: PropTypes.object.isRequired,
|
||||
confirmPassword: PropTypes.object.isRequired
|
||||
}).isRequired,
|
||||
handleSubmit: PropTypes.func.isRequired,
|
||||
updatePassword: PropTypes.func.isRequired,
|
||||
|
|
|
@ -71,10 +71,10 @@ function SignupForm(props) {
|
|||
|
||||
SignupForm.propTypes = {
|
||||
fields: PropTypes.shape({
|
||||
username: PropTypes.object.isRequired, // eslint-disable-line
|
||||
email: PropTypes.object.isRequired, // eslint-disable-line
|
||||
password: PropTypes.object.isRequired, // eslint-disable-line
|
||||
confirmPassword: PropTypes.object.isRequired // eslint-disable-line
|
||||
username: PropTypes.object.isRequired,
|
||||
email: PropTypes.object.isRequired,
|
||||
password: PropTypes.object.isRequired,
|
||||
confirmPassword: PropTypes.object.isRequired
|
||||
}).isRequired,
|
||||
handleSubmit: PropTypes.func.isRequired,
|
||||
signUpUser: PropTypes.func.isRequired,
|
||||
|
|
Loading…
Reference in a new issue