summaryrefslogtreecommitdiffstats
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-07-08 12:26:35 +0200
committerGitHub <noreply@github.com>2023-07-08 12:26:35 +0200
commit429c12fe6220a9f854ee5f3275da7e43ba47f89e (patch)
treef1d8e1121a4af378b0957562f859af0a6a448152 /.eslintrc.yaml
parentcc00fd50f31c819bf575cbf4a48a4bf8bf2a340e (diff)
downloadgitea-429c12fe6220a9f854ee5f3275da7e43ba47f89e.tar.gz
gitea-429c12fe6220a9f854ee5f3275da7e43ba47f89e.zip
Update JS dependencies, misc tweaks (#25768)
- Update all JS dependencies minus stylelint because of https://github.com/elirasza/stylelint-stylistic/issues/12 - Misc tweaks to eslint and stylelint configs - Tested Monaco and Mermaid
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 71d8dc3814..8b9123c988 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -22,7 +22,7 @@ plugins:
- eslint-plugin-wc
env:
- es2022: true
+ es2024: true
node: true
overrides:
@@ -156,7 +156,7 @@ rules:
import/no-restricted-paths: [0]
import/no-self-import: [2]
import/no-unassigned-import: [0]
- import/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$"]}]
+ import/no-unresolved: [2, {commonjs: true, ignore: [\?.+$, ^vitest/]}]
import/no-unused-modules: [2, {unusedExports: true}]
import/no-useless-path-segments: [2, {commonjs: true}]
import/no-webpack-loader-syntax: [2]
@@ -693,7 +693,7 @@ rules:
unicorn/prefer-dom-node-remove: [2]
unicorn/prefer-dom-node-text-content: [2]
unicorn/prefer-event-target: [2]
- unicorn/prefer-export-from: [2, {ignoreUsedVariables: true}]
+ unicorn/prefer-export-from: [0]
unicorn/prefer-includes: [2]
unicorn/prefer-json-parse-buffer: [0]
unicorn/prefer-keyboard-event-key: [2]