From 7c47e240936b8706a888a46149ca399219caef03 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 7 Nov 2020 16:11:09 +0100 Subject: Add Vue linting (#13447) * Add Vue linting Turns out the .vue files were not linted at all, so I added that as well as re-indented the file to 2-space and fixed all reasonable issues that cam up except one case of a unintended side effect for which I have no idea how to fix it, so the rule was disabled. * misc tweaks * update lockfile * use overrides to include .vue files * treat warnings as errors on lint-frontend * also treat stylelint warnings as errors * use equal sign syntax Co-authored-by: Lauris BH Co-authored-by: Lunny Xiao --- web_src/js/components/ActivityHeatmap.vue | 128 +++++++++---------- web_src/js/components/ActivityTopAuthors.vue | 179 +++++++++++++-------------- web_src/js/index.js | 150 +++++++++++----------- 3 files changed, 218 insertions(+), 239 deletions(-) (limited to 'web_src/js') diff --git a/web_src/js/components/ActivityHeatmap.vue b/web_src/js/components/ActivityHeatmap.vue index ec241b64fa..cfa2825244 100644 --- a/web_src/js/components/ActivityHeatmap.vue +++ b/web_src/js/components/ActivityHeatmap.vue @@ -1,79 +1,71 @@ - - - +