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>
This commit is contained in:
parent
6793ef0069
commit
8ea33baa1c
12 changed files with 28 additions and 15 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue