Skip to content

Commit

Permalink
Update JS dependencies, misc tweaks (go-gitea#25768)
Browse files Browse the repository at this point in the history
- Update all JS dependencies minus stylelint because of
elirasza/stylelint-stylistic#12
- Misc tweaks to eslint and stylelint configs
- Tested Monaco and Mermaid
  • Loading branch information
silverwind authored Jul 8, 2023
1 parent cc00fd5 commit 429c12f
Show file tree
Hide file tree
Showing 4 changed files with 690 additions and 303 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ plugins:
- eslint-plugin-wc

env:
es2022: true
es2024: true
node: true

overrides:
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
Loading

0 comments on commit 429c12f

Please sign in to comment.