]> source.dussan.org Git - gitea.git/commit
Add Vue linting (#13447)
authorsilverwind <me@silverwind.io>
Sat, 7 Nov 2020 15:11:09 +0000 (16:11 +0100)
committerGitHub <noreply@github.com>
Sat, 7 Nov 2020 15:11:09 +0000 (23:11 +0800)
commit7c47e240936b8706a888a46149ca399219caef03
tree94afb02f748aae6d704d5c6c3f86a27f744705af
parented47da2e29aa832bd892f03d14e08e926d80bf24
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 <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
.eslintrc
Makefile
package-lock.json
package.json
web_src/js/components/ActivityHeatmap.vue
web_src/js/components/ActivityTopAuthors.vue
web_src/js/index.js