Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule failing with latest eslint-plugin-vue #14

Open
davydnorris opened this issue Nov 9, 2021 · 2 comments
Open

Rule failing with latest eslint-plugin-vue #14

davydnorris opened this issue Nov 9, 2021 · 2 comments

Comments

@davydnorris
Copy link

davydnorris commented Nov 9, 2021

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

'allowFirstLine': false

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

@MartinX3
Copy link

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

@davydnorris
Copy link
Author

I found the issue - they've removed the option into a new rule. See:
vuejs/eslint-plugin-vue#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',
}],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants