Skip to content

Commit

Permalink
fix: Revert "feat: Don't run prettier twice if eslint-plugin-prettier…
Browse files Browse the repository at this point in the history
… is installed"

This reverts commit 9945683.

This was just removing the options and not actually stpping prettier
from running twice.
  • Loading branch information
zimme committed Jan 8, 2018
1 parent 9945683 commit f628bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function getFixableRules(eslintConfig) {
const rules = linter.getRules();
const fixableRules = [];
for (const [name, rule] of rules) {
if (name !== "prettier/prettier" && isRuleFixable(rule)) {
if (isRuleFixable(rule)) {
fixableRules.push(name);
}
}
Expand Down

0 comments on commit f628bef

Please sign in to comment.