Question: Configure `vue/order-in-components` to play nice with `sort-keys`?
See original GitHub issueI have vue/order-in-components
set, but I also have sort-keys
enabled for natural sort order.
I wanted to know if there is some configuration that I can use to make the two rules play nicely together?
Currently when I sort vue
components in order, then sort-keys
errors about natural sort order. I know that I can litter my components with eslint
disable comments, but I would prefer no to do that if it is at all possible?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Components Basics - Vue.js
Components allow us to split the UI into independent and reusable pieces, and think about each piece in isolation. It's common for an...
Read more >Best way to sort through components Vue JS - Stack Overflow
Run this snippet (full page) and check if that's what you want. It's a single component, but you can follow the comments so...
Read more >How To Build Vue Components That Play Nice
The 6 key concepts you need to know to create reusable Vue components that play nicely with the rest of the Vue ecosystem....
Read more >Icons | BootstrapVue
Bootstrap Icons are designed to work with Bootstrap components, ... BootstrapVue icon components are built from bootstrap-icons v1.5.0 source SVGs.
Read more >Focus management with Vue refs - Learn web development
Instead, we need to wait until after Vue undergoes the next DOM update cycle. To do that, Vue components have a special method...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m afraid we can’t do anything about that. One rule does not know anything about any other, and we can’t interfere with what other rules should or shouldn’t lint. You have to either disable
sort-keys
per component or disable it completely.We disabled the rule a while back after, and a colleague wrote a sorter using jscodeshift.