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
This commit is contained in:
parent
cc00fd50f3
commit
429c12fe62
4 changed files with 690 additions and 303 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue