lib/authentication.js
Function koaMiddleware
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
koaMiddleware() {
return async (ctx, next) => {
const url = ctx.url;
const authPath = '/authentication';
Function send
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
send(token) {
const uri = db.settings.get('uri').value();
const body =
Definition for rule 'semi-style' was not found Open
Open
'use strict';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/