Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
domharrington committed Jan 28, 2019
1 parent a3cee9b commit 590897e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/api-explorer/__tests__/AuthBox.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const AuthBox = require('../src/AuthBox');

const Oas = require('../src/lib/Oas.js');
const multipleSecurities = require('./fixtures/multiple-securities/oas');
const authTypes = require('./fixtures/auth-types/oas');

const oas = new Oas(multipleSecurities);

Expand Down
1 change: 0 additions & 1 deletion packages/api-explorer/src/Doc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const PropTypes = require('prop-types');
const fetchHar = require('fetch-har');
const oasToHar = require('./lib/oas-to-har');
const isAuthReady = require('./lib/is-auth-ready');
const getAuth = require('./lib/get-auth');
const extensions = require('@readme/oas-extensions');
const Waypoint = require('react-waypoint');

Expand Down
2 changes: 2 additions & 0 deletions packages/api-explorer/src/security-input-types/ApiKey.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function ApiKey({ apiKey, scheme, authInputRef, change }) {
}

ApiKey.propTypes = {
apiKey: PropTypes.string,
scheme: PropTypes.shape({
name: PropTypes.string.isRequired,
}).isRequired,
Expand All @@ -28,6 +29,7 @@ ApiKey.propTypes = {
};

ApiKey.defaultProps = {
apiKey: undefined,
authInputRef: () => {},
};

Expand Down

0 comments on commit 590897e

Please sign in to comment.