3 var packageJson
= require('../package.json');
4 var eslintFiles
= Object
.keys(packageJson
.devDependencies
)
5 .filter(function(dependency
) {
6 return dependency
.indexOf('eslint') === 0;
8 .map(function(dependency
) {
9 if (process
.argv
[1] === '--semver') {
10 return dependency
+ '@' + packageJson
.devDependencies
[dependency
];
16 console
.log(eslintFiles
.join('\n'));