vuetifyjs / eslint-config-vuetify

💼 Opinionated eslint config for Vuetify projects
Other
37 stars 8 forks source link

Rule failing with latest eslint-plugin-vue #14

Open davydnorris opened 3 years ago

davydnorris commented 3 years ago

This rule is failing on the following line in the latest release of eslint-plugin-vue. Looks like they may have removed the option

https://github.com/vuetifyjs/eslint-config-vuetify/blob/a3f82f37526c5dcf7d0c254222c59a76d9cc6ec2/index.js#L32

looking at the code, it appears it was never there despite being in the documentation

MartinX3 commented 2 years ago

This project seems to be dead. Please use https://github.com/vuetifyjs/eslint-plugin-vuetify and the extends plugin:vuetify/recommended

davydnorris commented 2 years ago

I found the issue - they've removed the option into a new rule. See: https://github.com/vuejs/eslint-plugin-vue/pull/1587

Correct rule should now be:

'vue/max-attributes-per-line': ['error', {
  singleline: 1,
  multiline: 1,
}],
'vue/first-attribute-linebreak': ['error', {
  'singleline': 'beside',
  'multiline': 'below',
}],