-
-
Notifications
You must be signed in to change notification settings - Fork 682
docs: fix block-order default value #2745
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
base: master
Are you sure you want to change the base?
Conversation
|
The docs is aligned with the default options:
The issue owner need to provide more information about his code, config, expect behavior and actually behavior. |
@ntnyq Why is there a nested array ? It's not explained anywhere... All the example use flat array |
The default option means leave scripts and templates as it's original order, but moves all styles to the bellow. The schema of options defined in here: eslint-plugin-vue/lib/rules/block-order.js Lines 45 to 63 in 87793a5
And there are examples in https://eslint.vuejs.org/rules/block-order.html#order-script-template-style-default. |
@ntnyq There is one, out of all the others, and it's not explained. |
fix: #2744