src/index.js
Function constructor
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(config) {
config = config || {};
const host = config.host || '';
const apiName = config.apiName !== undefined ? config.apiName : 'api';
this.defaultHeaders = {};
Parsing error: parser.parse is not a function Open
Open
import superagent from 'superagent';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/