diff options
author | silverwind <me@silverwind.io> | 2024-03-19 17:28:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 16:28:46 +0000 |
commit | fa100618c4b644346bf5666f92d33dce0747d0a2 (patch) | |
tree | 262de08cc1916b5719a855ca0a5245fbd7a492fd /.eslintrc.yaml | |
parent | 5a8559ec47a271e45bf5836eaf5e9040a0f1d6bf (diff) | |
download | gitea-fa100618c4b644346bf5666f92d33dce0747d0a2.tar.gz gitea-fa100618c4b644346bf5666f92d33dce0747d0a2.zip |
Forbid jQuery `.css` and refactor all usage (#29852)
Tested all functionality. There is a [pre-existing
bug](https://github.com/go-gitea/gitea/issues/29853) when moving a
project panels which is not caused by this refactoring.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index b65fe56cf2..72039a6013 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -286,7 +286,7 @@ rules: jquery/no-class: [0] jquery/no-clone: [2] jquery/no-closest: [0] - jquery/no-css: [0] + jquery/no-css: [2] jquery/no-data: [0] jquery/no-deferred: [2] jquery/no-delegate: [2] @@ -409,7 +409,7 @@ rules: no-jquery/no-constructor-attributes: [2] no-jquery/no-contains: [2] no-jquery/no-context-prop: [2] - no-jquery/no-css: [0] + no-jquery/no-css: [2] no-jquery/no-data: [0] no-jquery/no-deferred: [2] no-jquery/no-delegate: [2] |