diff options
author | silverwind <me@silverwind.io> | 2023-04-20 04:36:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 22:36:41 -0400 |
commit | 92e07f270aa925d518b13686f78befb63da0a747 (patch) | |
tree | bb6202351494d52d7aecf8c67ee5c99888dc5703 /.eslintrc.yaml | |
parent | 938b59199480d1b3730388982eb87d592e976849 (diff) | |
download | gitea-92e07f270aa925d518b13686f78befb63da0a747.tar.gz gitea-92e07f270aa925d518b13686f78befb63da0a747.zip |
Update JS dependencies (#24218)
- Update all js dependencies, update playwright image to jammy
- Adjust eslint and vitest config
- Tested build, monaco, mermaid, katex
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 81b3a10f30..bb7e7c09a8 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -65,7 +65,7 @@ rules: curly: [0] custom-elements/expose-class-on-global: [0] custom-elements/extends-correct-class: [2] - custom-elements/file-name-matches-element: [0] + custom-elements/file-name-matches-element: [2] custom-elements/no-constructor: [2] custom-elements/no-customized-built-in-elements: [2] custom-elements/no-dom-traversal-in-attributechangedcallback: [2] @@ -500,7 +500,7 @@ rules: unicorn/prefer-default-parameters: [0] unicorn/prefer-event-key: [2] unicorn/prefer-event-target: [2] - unicorn/prefer-export-from: [2] + unicorn/prefer-export-from: [2, {ignoreUsedVariables: true}] unicorn/prefer-includes: [2] unicorn/prefer-json-parse-buffer: [0] unicorn/prefer-logical-operator-over-ternary: [2] |