stable

Clone or download

Read-only

Upgrade eslint-related dependencies

Part of request #13228 Upgrade dev dependencies April 2019 edition No functional change expected. Note to reviewer: I tried to fix as many errors as possible but there are still errors such as: The template root requires exactly one element vue/valid-template-root We should deal with those in dedicated patches. Changes to the configuration: Errors: - vue/match-component-file-name. It enforces the "name" property and the filename to be the same in Vue components. - vue/require-direct-export. It enforces to use "export default {" in Vue components. - vue/order-in-components now produces errors instead of warnings Disabled rules: - vue/multiline-html-element-content-newline and vue/singleline-html-element-content-newline have been disabled. They were set to "warning" by the vue/recommended config, but they are more annoying than useful. I would prefer to automatically format this with Prettier when it works. - vue/require-component-is has a bug [0] and is now disabled - vue/no-unused-components is too flaky. On the CLI it reports false positives, in the editor it doesn't report when it should (false negatives). It's therefore disabled. [0]: https://github.com/vuejs/eslint-plugin-vue/issues/869 Change-Id: I35556cfaaa0d4a83172dde24be6ddb5e74d02d16

Modified Files

Name
M .eslintrc.js +8 −1 Go to diff View file
M package-lock.json +280 −129 Go to diff View file
M package.json +4 −4 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsButton/UpdateButton.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownButton.vue +3 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenu.vue +3 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/ErrorModal.vue +3 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContentRow.vue +2 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderHeader.vue +0 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalNewItem/UnderTheFoldNotification.vue +6 −6 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookFile.vue +3 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookGlobal.vue +2 −6 Go to diff View file
M plugins/git/www/scripts/permissions-per-group/src/GitPermissionsTableRepository.vue +1 −1 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/ActionBar.vue +3 −3 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/App.vue +9 −9 Go to diff View file
M plugins/pullrequest/www/scripts/create-pullrequest-button/src/components/App.vue +3 −3 Go to diff View file
M plugins/timetracking/www/scripts/personal-timetracking-widget/src/components/modal/WidgetModalEditTime.vue +1 −1 Go to diff View file
M plugins/timetracking/www/scripts/timetracking-overview-widget/src/components/reading-mode/TimeTrackingOverviewTrackerList.vue +1 −1 Go to diff View file
M plugins/timetracking/www/scripts/timetracking-overview-widget/src/components/writing-mode/TimeTrackingOverviewTrackerList.vue +1 −1 Go to diff View file
M plugins/tracker/www/scripts/artifact-action-buttons/src/components/DryRunFullyMigratedFieldState.vue +1 −1 Go to diff View file
M plugins/tracker/www/scripts/artifact-action-buttons/src/components/DryRunNotMigratedFieldState.vue +1 −1 Go to diff View file
M plugins/tracker/www/scripts/permissions-per-group/src/BaseTrackerPermissions.vue +1 −1 Go to diff View file
M plugins/tracker/www/scripts/permissions-per-group/src/TrackerPermissionTableEmptyState.vue +1 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/Header/HeaderSection.vue +1 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/Header/WorkflowFieldChange.vue +1 −2 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostAction/PostAction.vue +5 −5 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionRulesEnforcementWarning.vue +3 −3 Go to diff View file
M src/www/scripts/frs/permissions-per-group/BaseFRSPackagePermissions.vue +1 −1 Go to diff View file
M src/www/scripts/frs/permissions-per-group/FRSPackagePermissionsTable.vue +1 −1 Go to diff View file
M src/www/scripts/frs/permissions-per-group/FRSPackagePermissionsTablePackage.vue +1 −1 Go to diff View file
M src/www/scripts/frs/permissions-per-group/FRSPackagePermissionsTablePackageEmptyState.vue +1 −1 Go to diff View file
M src/www/scripts/frs/permissions-per-group/FRSPackagePermissionsTablePackageRelease.vue +1 −1 Go to diff View file
M src/www/scripts/news/permissions-per-group/BaseNewsPermissions.vue +1 −1 Go to diff View file
M src/www/scripts/news/permissions-per-group/NewsPermissionsVisibilityLabel.vue +1 −1 Go to diff View file