Skip to content

Commit 429c12f

Browse files
authored
Update JS dependencies, misc tweaks (#25768)
- Update all JS dependencies minus stylelint because of elirasza/stylelint-stylistic#12 - Misc tweaks to eslint and stylelint configs - Tested Monaco and Mermaid
1 parent cc00fd5 commit 429c12f

File tree

4 files changed

+690
-303
lines changed

4 files changed

+690
-303
lines changed

.eslintrc.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ plugins:
2222
- eslint-plugin-wc
2323

2424
env:
25-
es2022: true
25+
es2024: true
2626
node: true
2727

2828
overrides:
@@ -156,7 +156,7 @@ rules:
156156
import/no-restricted-paths: [0]
157157
import/no-self-import: [2]
158158
import/no-unassigned-import: [0]
159-
import/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$"]}]
159+
import/no-unresolved: [2, {commonjs: true, ignore: [\?.+$, ^vitest/]}]
160160
import/no-unused-modules: [2, {unusedExports: true}]
161161
import/no-useless-path-segments: [2, {commonjs: true}]
162162
import/no-webpack-loader-syntax: [2]
@@ -693,7 +693,7 @@ rules:
693693
unicorn/prefer-dom-node-remove: [2]
694694
unicorn/prefer-dom-node-text-content: [2]
695695
unicorn/prefer-event-target: [2]
696-
unicorn/prefer-export-from: [2, {ignoreUsedVariables: true}]
696+
unicorn/prefer-export-from: [0]
697697
unicorn/prefer-includes: [2]
698698
unicorn/prefer-json-parse-buffer: [0]
699699
unicorn/prefer-keyboard-event-key: [2]

0 commit comments

Comments
 (0)