src/actions/sync.js
Function iterateOverUploadedFiles
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function iterateOverUploadedFiles(service, lock, opts = {}) {
const { amqp, redis, provider, config: { uploadTTL, router } } = service;
const { offset = 0, limit = 10 } = opts;
const route = `${router.routes.prefix}.finish`;
Parsing error: The keyword 'const' is reserved Open
Open
const { ActionTransport } = require('@microfleet/plugin-router');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/