eslint-plugin-vue

Official ESLint plugin for Vue.js

MIT License

Downloads
12M
Stars
4.4K
Committers
215

Bot releases are visible (Hide)

eslint-plugin-vue -

Published by michalsnik almost 7 years ago

Diff: v3.11.0 -> v3.12.0

⭐ Features

  • 140a276e191c311155c0d82ca14d4a7bb0045dcd (#138) Add new rule vue/no-multi-spaces
  • 85558dc8c89a1f6b860cf42a248e797076d8eaf1 (#60) Add new rule vue/max-attributes-per-line
  • becfb8a75acbe3bec52ccade2f696f718efa0f89 (#137) Detect Vue.mixin as component so it's also linted

🐛 Bug fixes

  • 164b2aea7b19d30b37ec1b58d809b558da2042d9 (#143) Fix traversing in over many types in require-valid-default-prop
  • df84d9bf48b20cceb91776f889d65359f8891326 (#146) Improve support for spread operator

⚙️ Chores

  • 23d360ca0b5209b0fe70c10ee72a5314b358e92c (#157) Rename rule no-reservered-keys to no-reserved-keys.
eslint-plugin-vue -

Published by michalsnik about 7 years ago

Diff: v3.10.0 -> v3.11.0

⭐ Features

  • a3d64c7a6a587ae9f7ba19c35044e9061099cae8 (#119) Add rule vue/require-valid-default-prop
  • 4d0c1d355240afad63eb929b1ca3959851838a5c (#123) Allow to use @vue/component to set enable parsing vue objects
  • 0e46f31bbcd78fb07502daac40da028ac21ee4bc (#129) Add rule vue/html-self-closing

🐛 Bug fixes

  • 3db7b1388905f5a99497527749610452a157ad92 (#131) Match correct nodes in return-in-computed-property & require-render-return
  • 8761bdeb74dab5551639634a75af84ce29cfb520 (#139) Update vue-eslint-parser to support Eslint 4.4.0

⚙️ Chores

  • a9d44bca02d28f372cfa58d889fefb0a49d124ae (#132) Deprecate no-invalid-* rules and add valid-* rules
eslint-plugin-vue -

Published by michalsnik about 7 years ago

Diff: v3.9.0 -> v3.10.0

Features

Bug fixes

  • b440c2e97819b5d78ca06eea218a1473500a5767 (#127) Updated vue-eslint-parser to new version, that has parserServices implemented

Chores

  • 5d86470f5df16b33734a567e5329fbc9e47f24f3 (#128) Removed package-lock.json
eslint-plugin-vue -

Published by michalsnik about 7 years ago

Diff: v3.8.0 -> v3.9.0

Features

Enhancements

  • 33613662a9e715d56e72579626d8e934c6628006 (#106) Allow to use numbers in component names

  • 49b40d6af603957b117e148711eae5546ceb349a (#116) Upgrade vue-eslint-parser to completely rewritten version v2.x

  • da311e97fc13575ba930c6f489d24e9371da8ec0 (#120) Add namespace check of svg & mathML instead of tag names

  • f834a7e0935635a4dd4aa28f29c88adb0709d477 (#113) Add allowCoexistClass and allowCoexistStyle options in vue/no-duplicate-attributes

Chores

  • e42491fa45e9ea081a793318083f0e1aad2af6ac (#115) Update code comments, improve tests for name-property-casing rule

  • c149f335040c77d5806bb42ee1e0d7aa9f2ec00f (#121) Add support for deprecated state in auto-generated readme

eslint-plugin-vue -

Published by michalsnik about 7 years ago

Diff: v3.7.0 -> v3.8.0

Features

eslint-plugin-vue -

Published by mysticatea about 7 years ago

Features

Enhancements

  • 79045369741304d2c69cd92816555c6b2e277970 updated no-invalid-v-on rule to support Vue.js 2.4.0. The v2.4.0 supports v-on object syntax with no arguments.
eslint-plugin-vue -

Published by mysticatea about 7 years ago

Features

eslint-plugin-vue -

Published by mysticatea about 7 years ago

Bug fixes

  • 602d80faad9b6004d040209c41fba68e062891d2 fixed a bug that vue/no-invalid-v-for had not considered <slot> elements as HTML elements.
  • 799d1de6607a6387765b820acfcad42883457afe fixed a bug that vue/order-in-components had not had correct option schema.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Enhancements

  • e729ad26e486985201e713782909692e74e28688 enabled experimentalObjectRestSpread option of vue/recommended config.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Enhancements

  • 866d057373425a4518d93564a6fdf7b71e8a1960 adds a new rule no-template-key. This rule disallows key attribute on <template> elements because it does not work.

Bug fixes

  • 866d057373425a4518d93564a6fdf7b71e8a1960 fixed false positives of no-invalid-v-for and require-v-for-key rules. Now it checks whether child elements of <template> elements have v-bind:key attribute rather than the <template> elements.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Bug fixes

  • b0d613c818c5368be410e95314d57a3b6926412e fixed the false positives of no-invalid-v-on rule about v-on directives which have verb modifiers (.stop or .prevent).
  • a8bdf723b1f29324552176d98b7ecf486f02fb3a removed html-no-self-closing rule from plugin:vue/recommended configuration.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Bug fixes

  • 62c60d7dacf5971c607bd57ab2a28df2b3000932 fixed the false positives of no-invalid-template-root rule about empty templates.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Bug fixes

  • 0bbf3685b424556a53660ceca3216b5b12e2e484 fixed crash in the following cases:
    • Foreign attributes exist.
    • <tbody>/<thead> elements are omitted.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Features

eslint-plugin-vue -

Published by mysticatea over 7 years ago

Bug fixes

  • b71c7a3ea1da6116136275c703e52f69963bfbcf fixed that rules crash if Atom is running the rules.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Bug fixes

  • 8da7f030d55d95fae61ada6f02a3cfb3d71c77a3 fixed that no-invalid-v-for crashes on :key without values (#37)
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Bug fixes

  • 22aeca5c3ad2a5f5775b7a6134b56236de00b217 fixed the problem about self-closing elements (#29).
  • e8e67cc5eede0e674571552b559c5138e9642363 fixed the problem about loading vue-eslint-parser (#30).
  • 22aeca5c3ad2a5f5775b7a6134b56236de00b217 fixed the problem about the integration with eslint-plugin-import (https://github.com/vuejs/eslint-plugin-vue/issues/21#issuecomment-308957697)
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Enhancements

  • 1dc567b5c8fdbd8b15b275f88a71ebeac4943e9f added the sync modifier support to no-invalid-v-bind rule.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Bug fixes

  • 5da884108a7d94433fe5e9fdf19adc10ed90277e fixed a release mistake.
eslint-plugin-vue -

Published by mysticatea over 7 years ago

Features

  • eslint-plugin-vue has gotten many rules to check <template>!
    See README.md to know usage.

Notes

  • This is beta version. You have to use beta tag to install: npm install eslint-plugin-vue@beta
  • A part of rules are not working as intended for now since parser problems.