chore(frontend): enable vue/multi-word-component-names with legacy allowlist
This commit is contained in:
parent
21609127a1
commit
02ae01ad80
|
|
@ -25,7 +25,62 @@ export default [
|
|||
'indent': ['error', 'tab', { 'SwitchCase': 1 }],
|
||||
|
||||
'vue/v-on-event-hyphenation': ['warn', 'never', {'autofix': true}],
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'vue/multi-word-component-names': ['error', {
|
||||
ignores: [
|
||||
// Existing single-word components grandfathered in.
|
||||
// New components must use multi-word names per Vue style guide.
|
||||
'404',
|
||||
'About',
|
||||
'Attachments',
|
||||
'Auth',
|
||||
'Button.story',
|
||||
'Caldav',
|
||||
'Card',
|
||||
'Card.story',
|
||||
'Comments',
|
||||
'Datepicker',
|
||||
'Description',
|
||||
'Done',
|
||||
'Dropdown',
|
||||
'Error',
|
||||
'Expandable',
|
||||
'Filters',
|
||||
'Flatpickr',
|
||||
'Heading',
|
||||
'Home',
|
||||
'Icon',
|
||||
'index',
|
||||
'Label',
|
||||
'Labels',
|
||||
'Legal',
|
||||
'List',
|
||||
'Loading',
|
||||
'Login',
|
||||
'Logo',
|
||||
'Message',
|
||||
'Migration',
|
||||
'Modal',
|
||||
'Multiselect',
|
||||
'Navigation',
|
||||
'Nothing',
|
||||
'Notification',
|
||||
'Notifications',
|
||||
'Pagination',
|
||||
'Password',
|
||||
'Popup',
|
||||
'Reactions',
|
||||
'Ready',
|
||||
'Register',
|
||||
'Reminders',
|
||||
'Reminders.story',
|
||||
'Sessions',
|
||||
'Settings',
|
||||
'Shortcut',
|
||||
'Sort',
|
||||
'Subscription',
|
||||
'User',
|
||||
],
|
||||
}],
|
||||
|
||||
// uncategorized rules:
|
||||
'vue/component-api-style': ['error', ['script-setup']],
|
||||
|
|
|
|||
Loading…
Reference in New Issue