lru-cache-for-clusters-as-promised
Version:
LRU Cache that is safe for clusters, based on `lru-cache`. Save memory by only caching items on the main thread via a promisified interface.
32 lines (30 loc) • 680 B
Plain Text
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,
],
};
};