-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fix/script ordering #223
Fix/script ordering #223
Conversation
export default { | ||
name: 'loading-spinner', | ||
}; | ||
</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
creating <script>
tag here as it is missing.
export default { | ||
name: 'archival-table', | ||
}; | ||
</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
creating <script>
tag here as it is missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, thanks for double check!
Reordering
<script>
tag to be the first element in a.vue
file.Used new lint rule to achieve & enforce this rule (see eslint-plugin-vue/component-tags-order for more information).
Also for two of the files (
client/components/loading-spinner.vue
&client/routes/domain/workflow-archival/components/archival-table.vue
) have created a<script>
tag as these were missing.This is needed in order to inject license headers correctly, as this is a limitation of the library (see #220 & Stuk/eslint-plugin-header#32 for more information).
No other changes are included in this PR.
Screenshots
Before changes with lint rule
After changes with lint rule