aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/components/.eslintrc.yaml
diff options
context:
space:
mode:
authorJonathan Tran <jon@allspice.io>2023-04-05 16:59:40 -0400
committerGitHub <noreply@github.com>2023-04-05 16:59:40 -0400
commit8c3cee7a72a321e84b9461691e60a24188b588c5 (patch)
treef4ba86d4ff97e0418a085e0ab280c56b075e5bf7 /web_src/js/components/.eslintrc.yaml
parent376396a08838031bb351c9ed130baf7264adb72f (diff)
downloadgitea-8c3cee7a72a321e84b9461691e60a24188b588c5.tar.gz
gitea-8c3cee7a72a321e84b9461691e60a24188b588c5.zip
Update eslints for Vue 3 (#23935)
I found that some lint warnings in my editor are conflicting, and I believe the root cause is using lints designed for Vue 2 instead of Vue 3. We moved to Vue 3 in #20044. I verified that the explicitly disabled rules in the changed file are still part of the `vue/vue3-recommended` set. See [Available rules - eslint-plugin-vue](https://eslint.vuejs.org/rules/) for a full list of lints.
Diffstat (limited to 'web_src/js/components/.eslintrc.yaml')
-rw-r--r--web_src/js/components/.eslintrc.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/.eslintrc.yaml b/web_src/js/components/.eslintrc.yaml
index e19bd06637..d428b24951 100644
--- a/web_src/js/components/.eslintrc.yaml
+++ b/web_src/js/components/.eslintrc.yaml
@@ -3,7 +3,7 @@ plugins:
extends:
- ../../../.eslintrc.yaml
- - plugin:vue/recommended
+ - plugin:vue/vue3-recommended
env:
browser: true