Skip to content

Commit

Permalink
remove legacy option aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 2, 2016
1 parent d0ff942 commit 50f2fed
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tasks/eslint.js
Expand Up @@ -10,15 +10,6 @@ module.exports = grunt => {
maxWarnings: -1
});

// legacy
// TODO: remove in the future
if (opts.config) {
opts.configFile = opts.config;
}
if (opts.rulesdir) {
opts.rulePaths = opts.rulesdir;
}

if (this.filesSrc.length === 0) {
grunt.log.writeln(chalk.magenta('Could not find any files to validate'));
return true;
Expand Down

0 comments on commit 50f2fed

Please sign in to comment.