diff options
author | silverwind | 2022-12-20 23:15:47 +0100 |
---|---|---|
committer | GitHub | 2022-12-20 17:15:47 -0500 |
commit | e767b3372a2171860f07ff57ce165d6cd68448c8 (patch) | |
tree | b4c6b875583ea6f44291076463c7d810299a4043 /.eslintrc.yaml | |
parent | 495b8b3635bdcc42aa419be7845c9bbaf72d7473 (diff) |
Update JS dependencies and eslint (#22190)
- Update all JS dependencies to latest version
- Enable unicorn/prefer-node-protocol and autofix issues
- Regenerate SVGs
- Add some comments to eslint rules
- Tested build, Mermaid and Katex rendering
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 5e5cda7dc..32e7ea70c 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -255,7 +255,7 @@ rules: no-irregular-whitespace: [2] no-iterator: [2] no-label-var: [2] - no-labels: [0] + no-labels: [0] # handled by no-restricted-syntax no-lone-blocks: [2] no-lonely-if: [0] no-loop-func: [0] @@ -335,7 +335,7 @@ rules: no-void: [2] no-warning-comments: [0] no-whitespace-before-property: [2] - no-with: [0] + no-with: [0] # handled by no-restricted-syntax nonblock-statement-body-position: [2] object-curly-newline: [0] object-curly-spacing: [2, never] @@ -495,7 +495,7 @@ rules: unicorn/prefer-native-coercion-functions: [2] unicorn/prefer-negative-index: [2] unicorn/prefer-node-append: [0] - unicorn/prefer-node-protocol: [0] + unicorn/prefer-node-protocol: [2] unicorn/prefer-node-remove: [0] unicorn/prefer-number-properties: [0] unicorn/prefer-object-from-entries: [2] |