Skip to content

Commit

Permalink
Update npm packages and add new Vue rules
Browse files Browse the repository at this point in the history
Fixes #124.
  • Loading branch information
lydell committed Nov 16, 2019
1 parent b4ade2b commit 39032ed
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 105 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -797,14 +797,14 @@ eslint-config-prettier has been tested with:
- eslint-config-prettier 5.1.0 and older were tested with ESLint 5.x
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
- prettier 1.18.2
- @typescript-eslint/eslint-plugin 2.5.0
- prettier 1.19.1
- @typescript-eslint/eslint-plugin 2.7.0
- eslint-plugin-babel 5.3.0
- eslint-plugin-flowtype 4.3.0
- eslint-plugin-flowtype 4.4.1
- eslint-plugin-react 7.16.0
- eslint-plugin-standard 4.0.1
- eslint-plugin-unicorn 12.1.0
- eslint-plugin-vue 5.2.3
- eslint-plugin-unicorn 13.0.0
- eslint-plugin-vue 6.0.1

Have new rules been added since those versions? Have we missed any rules? Is
there a plugin you would like to see exclusions for? Open an issue or a pull
Expand Down
2 changes: 1 addition & 1 deletion bin/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {

const firstOption = options[0];
return Boolean(
firstOption && (firstOption.html && firstOption.html.void === "any")
firstOption && firstOption.html && firstOption.html.void === "any"
// Enable when Prettier supports SVG: https://github.com/prettier/prettier/issues/5322
// && firstOption.svg === "any"
);
Expand Down
183 changes: 91 additions & 92 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39032ed

Please sign in to comment.