diff options
author | yp05327 <576951401@qq.com> | 2023-04-20 18:28:27 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 05:28:27 -0400 |
commit | 8ea33baa1ce49168f74f7588f858c2f8327d5bfb (patch) | |
tree | 1d032c369e16177d4519cc2aa401933ae3bcdae9 /.eslintrc.yaml | |
parent | 6793ef00692aee3d73d5e37ded0b8cff6b4c1029 (diff) | |
download | gitea-8ea33baa1ce49168f74f7588f858c2f8327d5bfb.tar.gz gitea-8ea33baa1ce49168f74f7588f858c2f8327d5bfb.zip |
Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198)
https://github.com/go-gitea/gitea/pull/24098#issuecomment-1514010690
---------
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index bb7e7c09a8..a3a89e76d4 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -12,6 +12,7 @@ plugins: - eslint-plugin-unicorn - eslint-plugin-import - eslint-plugin-jquery + - eslint-plugin-no-jquery - eslint-plugin-sonarjs - eslint-plugin-custom-elements @@ -192,6 +193,7 @@ rules: jquery/no-val: [0] jquery/no-when: [2] jquery/no-wrap: [2] + no-jquery/no-event-shorthand: [2] key-spacing: [2] keyword-spacing: [2] line-comment-position: [0] |