Skip to content

Releases: vuejs/eslint-plugin-vue

v7.8.0

22 Mar 08:02
Compare
Choose a tag to compare

✨ Enhancements

  • #1450 Changed vue/require-direct-export rule to allow more cases (e.g. export default defineComponent({})).
  • #1451 Changed vue/valid-v-show rule to disallow v-show in <template> tag.

v7.7.0

02 Mar 10:35
Compare
Choose a tag to compare

✨ Enhancements

Changes in Rules:

  • #1444 Added ignorePublicMembers option to vue/no-unused-properties rule.

🐛 Bug Fixes

  • #1446 Fixed false negatives for member access with $ in vue/this-in-template rule.

⚙️ Updates

  • #1448 Upgrade vue-eslint-parser to v7.6.0.
    This makes the parser to case sensitive to the name used to determine the element when the file is SFC.

All commits: v7.6.0 -> v7.7.0

v7.6.0

15 Feb 01:06
Compare
Choose a tag to compare

✨ Enhancements

New Rules:

  • #1001, #1432 Added vue/html-button-has-type rule.

Other changes in Rules:

  • #1429 Added "SLOT" option to vue/attributes-order rule to specify v-slot order.
  • #1430 Changed the option schema for the following rules to be stricter. Incorrect options are reported as errors.
    • vue/attributes-order rule.
    • vue/component-tags-order rule.
    • vue/max-attributes-per-line rule.
    • vue/new-line-between-multi-line-property rule.
    • vue/no-bare-strings-in-template rule.
    • vue/no-duplicate-attributes rule.
    • vue/no-potential-component-option-typo rule.
    • vue/no-reserved-component-names rule.
    • vue/no-use-v-if-with-v-for rule.
    • vue/no-useless-mustaches rule.
    • vue/no-useless-v-bind rule.
    • vue/valid-v-slot rule.
  • #1436 Improved autofix of vue/no-deprecated-slot-attribute rule when slot name contains _.

🐛 Bug Fixes

  • #1434 Fixed false negatives for v-bind="object" in vue/attributes-order rule.

⚙️ Updates

  • #1440 Upgrade vue-eslint-parser to v7.5.0.
    This change fixes an issue that caused a crash when using some queries with vue/no-restricted-syntax rule.

All commits: v7.5.0 -> v7.6.0

v7.5.0

22 Jan 01:09
Compare
Choose a tag to compare

✨ Enhancements

New Rules:

  • #1401 Added vue/no-constant-condition rule applies no-constant-condition rule to expressions in <template>, v-if, v-show and v-else-if.
  • #1400 Added vue/next-tick-style rule that enforces whether the callback version or Promise version should be used in Vue.nextTick and this.$nextTick.
  • #1404 Added vue/valid-next-tick rule that enforce valid nextTick function calls.

Other changes in Rules:

  • #1396 Make vue/no-ref-as-operand rule fixable.

🐛 Bug Fixes

  • #1398 Added computed() support to vue/no-async-in-computed-properties rule.
  • #1406 Added computed() support to vue/return-in-computed-property rule.
  • #1407 Added computed() support to vue/no-side-effects-in-computed-properties rule.
  • #1419 Fixed false positives for mixin() in vue/one-component-per-file and vue/require-name-property rules.
  • #1421 Fixed crash for toLocaleString() in vue/no-unused-properties rule.
  • #1420 Fixed false positives for quoted 'emits' in vue/require-explicit-emits rule.

⚙️ Updates

  • #1422 Upgrade vue-eslint-parser to 7.4.1

⚙️ Chores

  • #1392 Refactor vue/attributes-order rule.
  • #1405 Refactor vue/no-async-in-computed-properties rule.

All commits: v7.4.1 -> v7.5.0

v7.4.1

05 Jan 01:36
Compare
Choose a tag to compare

🐛 Bug Fixes

  • d176d6b Fixed false positives for assignments in no-ref-as-operand rule

All commits: v7.4.0 -> v7.4.1

v7.4.0

27 Dec 23:33
Compare
Choose a tag to compare

✨ Enhancements

New Rules:

  • #1381 Added vue/no-restricted-call-after-await rule that reports your restricted calls after the await expression.
  • #1388 Added vue/v-on-event-hyphenation rule that enforces using hyphenated v-on event names on custom components in Vue templates.
  • #1389 Added vue/no-restricted-block rule that allows you to specify block names that you don't want to use in your application.

Other changes in Rules:

  • #1387 Added deepData option to vue/no-unused-properties rule.

🐛 Bug Fixes

  • #1382 Fixed multiple reporting of same warnings in vue/no-unregistered-component rule.
  • #1391 Fixed false positives for v-bind="object" syntax in vue/attributes-order rule.

All commits: v7.3.0 -> v7.4.0

v7.3.0

16 Dec 06:00
Compare
Choose a tag to compare

✨ Enhancements

  • #1080 Added vue/new-line-between-multiline-property rule that enforces new lines between multi-line properties.
  • #1376 Added vue/no-restricted-props rule that disallows prop names that you don't want to use.
  • #1377 Added vue/no-restricted-custom-event rule that disallows custom event names that you don't want to use.

⚙️ Updates


All commits: v7.2.0 -> v7.3.0

v7.2.0

04 Dec 04:25
Compare
Choose a tag to compare

✨ Enhancements

  • #1364 Added casing option to vue/custom-event-name-casing rule.

⚙️ Updates

🐛 Bug Fixes

  • #1335 Fixed false positives when using is attr in vue/valid-v-bind-sync rule.
  • #1366 Fixed false positives when using v-for variable for v-slot in vue/valid-v-slot rule
  • #1367 Fixed false positives when using in vue/valid-v-slot and vue/valid-v-model rule
  • #1368 Fixed false negatives when using handler property in vue/no-arrow-functions-in-watch rule
  • #1369 Fixed false positives for methods whose arguments should not be changed in vue/v-on-function-call rule.

All commits: v7.1.0 -> v7.2.0

v7.1.0

18 Oct 13:48
Compare
Choose a tag to compare

✨ Enhancements

New Rules:

  • #1328 Added vue/block-tag-newline rule that enforces a line break (or no line break) after opening and before closing block tags.
  • #1326 Added vue/array-bracket-newline rule applies array-bracket-newline rule to expressions in <template>.

Other changes in Rules:

  • #1321 Added ignores option to vue/custom-event-name-casing rule.
  • #1330 Added allowModifiers option to vue/valid-v-slot rule.

🐛 Bug Fixes

  • #1332 Fixed CRLF issues.
  • #1305 Fixed false positives for recursive components in vue/no-unregistered-components rule.
  • #1324 Fixed false positives when used via argument in vue/no-unused-properties

⚙️ Updates

  • #1322 Changed not to use ESLint internal modules.

⚙️ Chores

  • #1337 Added Types for ES2021.
  • #1332 Upgraded vue-eslint-parser to 7.1.1

All commits: v7.0.1 -> v7.1.0

v7.0.1

05 Oct 01:55
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #1317 Avoid redundant global self-require of the plugin.

All commits: v7.0.0 -> v7.0.1