Showing 3 of 21 total issues
Function constructor
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(req) {
const cookies = (req && req.universalCookies) || new Cookies();
ApiClient.methods.forEach(
// eslint-disable-next-line no-return-assign
Function exports
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = (api) => {
api.cache(true);
api.assertVersion('^7.4.5');
const presets = [
Function componentDidMount
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
componentDidMount() {
this.latestDevRevision = null;
this.latestDevVersion = null;
this.latestStableRevision = null;
this.latestStableVersion = null;