#!/usr/bin/env node module.exports = function getOptions(depcheck) { return { ignoreBinPackage: false, ignoreDirs: ['coverage', 'dist', 'tmp'], ignoreMatches: [ 'depcheck', 'nyc', 'istanbul-cobertura-badger', 'mocha', 'nodemon', 'sloc', 'spec-xunit-file', ], parsers: { // the target parsers '**/*.js': depcheck.parser.es6, }, detectors: [ // the target detectors depcheck.detector.requireCallExpression, depcheck.detector.importDeclaration, ], specials: [ // the target special parsers depcheck.special.eslint, depcheck.special.mocha, ], }; };