digitalbazaar / eslint-config-digitalbazaar

BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

'vue/mustache-interpolation-spacing' is broken in eslint-plugin-vue 5.2.3 #24

Closed aljones15 closed 5 years ago

aljones15 commented 5 years ago

Currently we have the rule:

'vue/mustache-interpolation-spacing': 'never'

according to their docs this is fine:

https://eslint.vuejs.org/rules/mustache-interpolation-spacing.html

According to eslint this should now be 0:

Error: .eslintrc.js » eslint-config-digitalbazaar/vue:
  2         Configuration for rule "vue/mustache-interpolation-spacing" is invalid:
  3         Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passe    d '"never"').

this might be a mistake in the release.

Looks like it is as their own default rules uses warn:

https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/configs/strongly-recommended.js

aljones15 commented 5 years ago

Addressed in https://github.com/digitalbazaar/eslint-config-digitalbazaar/pull/25

hopefully this solution is backwards compatible.