Skip to content

Commit

Permalink
fix: Don't turn off valid-jsdoc as that rule is actually fixable
Browse files Browse the repository at this point in the history
  • Loading branch information
zimme committed Jan 21, 2018
1 parent 6ed4743 commit d359fad
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/utils.js
Expand Up @@ -90,11 +90,8 @@ function getRelevantESLintConfig(eslintConfig, eslintPath) {
// istanbul ignore next
const loadedRules =
(cliEngine.getRules && cliEngine.getRules()) ||
new Map([
["valid-jsdoc", { meta: {} }],
["global-require", { meta: {} }],
["no-with", { meta: {} }]
]);
// XXX: Fallback list of unfixable rules, when using and old version of eslint
new Map([["global-require", { meta: {} }], ["no-with", { meta: {} }]]);

const { rules } = eslintConfig;

Expand Down

0 comments on commit d359fad

Please sign in to comment.