Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8156e0f

Browse files
authoredJan 18, 2022
Update JS dependencies, remove eslint-plugin-github (#18317)
- Update all JS dependencies - Add new lint rules - Regenerate SVGs - Tested Monaco and Mermaid * Remove eslint-plugin-github
1 parent 89a3214 commit 8156e0f

File tree

4 files changed

+1673
-2923
lines changed

4 files changed

+1673
-2923
lines changed
 

‎.eslintrc

+7-19
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ plugins:
1313
- eslint-plugin-import
1414
- eslint-plugin-vue
1515
- eslint-plugin-html
16-
- eslint-plugin-github
1716

1817
extends:
1918
- plugin:vue/recommended
@@ -96,23 +95,6 @@ rules:
9695
function-paren-newline: [0]
9796
generator-star-spacing: [0]
9897
getter-return: [2]
99-
github/array-foreach: [2]
100-
github/async-currenttarget: [2]
101-
github/async-preventdefault: [2]
102-
github/authenticity-token: [0]
103-
github/get-attribute: [2]
104-
github/js-class-name: [0]
105-
github/no-blur: [0]
106-
github/no-d-none: [0]
107-
github/no-dataset: [2]
108-
github/no-implicit-buggy-globals: [0]
109-
github/no-inner-html: [0]
110-
github/no-innerText: [2]
111-
github/no-then: [0]
112-
github/no-useless-passive: [2]
113-
github/prefer-observers: [0]
114-
github/require-passive-events: [2]
115-
github/unescaped-html-literal: [0]
11698
grouped-accessor-pairs: [2]
11799
guard-for-in: [0]
118100
id-blacklist: [0]
@@ -301,6 +283,7 @@ rules:
301283
no-unsafe-negation: [2]
302284
no-unused-expressions: [2]
303285
no-unused-labels: [2]
286+
no-unused-private-class-members: [2]
304287
no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, ignoreRestSiblings: false}]
305288
no-use-before-define: [2, nofunc]
306289
no-useless-backreference: [0]
@@ -333,6 +316,7 @@ rules:
333316
prefer-exponentiation-operator: [2]
334317
prefer-named-capture-group: [0]
335318
prefer-numeric-literals: [2]
319+
prefer-object-has-own: [0]
336320
prefer-object-spread: [0]
337321
prefer-promise-reject-errors: [2, {allowEmptyReject: false}]
338322
prefer-regex-literals: [2]
@@ -379,7 +363,7 @@ rules:
379363
unicorn/import-style: [0]
380364
unicorn/new-for-builtins: [2]
381365
unicorn/no-abusive-eslint-disable: [0]
382-
unicorn/no-array-for-each: [0]
366+
unicorn/no-array-for-each: [2]
383367
unicorn/no-array-instanceof: [0]
384368
unicorn/no-array-method-this-argument: [2]
385369
unicorn/no-array-push-push: [2]
@@ -401,12 +385,14 @@ rules:
401385
unicorn/no-process-exit: [0]
402386
unicorn/no-reduce: [2]
403387
unicorn/no-static-only-class: [2]
388+
unicorn/no-thenable: [2]
404389
unicorn/no-this-assignment: [2]
405390
unicorn/no-unreadable-array-destructuring: [0]
406391
unicorn/no-unsafe-regex: [0]
407392
unicorn/no-unused-properties: [2]
408393
unicorn/no-useless-fallback-in-spread: [2]
409394
unicorn/no-useless-length-check: [2]
395+
unicorn/no-useless-promise-resolve-reject: [2]
410396
unicorn/no-useless-spread: [2]
411397
unicorn/no-useless-undefined: [0]
412398
unicorn/no-zero-fractions: [2]
@@ -426,6 +412,7 @@ rules:
426412
unicorn/prefer-event-key: [2]
427413
unicorn/prefer-export-from: [2]
428414
unicorn/prefer-includes: [2]
415+
unicorn/prefer-json-parse-buffer: [0]
429416
unicorn/prefer-math-trunc: [2]
430417
unicorn/prefer-modern-dom-apis: [0]
431418
unicorn/prefer-module: [2]
@@ -453,6 +440,7 @@ rules:
453440
unicorn/prefer-trim-start-end: [2]
454441
unicorn/prefer-type-error: [0]
455442
unicorn/prevent-abbreviations: [0]
443+
unicorn/relative-url-style: [2]
456444
unicorn/require-array-join-separator: [2]
457445
unicorn/require-number-to-fixed-digits-argument: [2]
458446
unicorn/require-post-message-target-origin: [0]

‎package-lock.json

+1,647-2,885
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+18-19
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,36 @@
88
},
99
"dependencies": {
1010
"@claviska/jquery-minicolors": "2.3.6",
11-
"@primer/octicons": "16.1.1",
11+
"@primer/octicons": "16.2.0",
1212
"add-asset-webpack-plugin": "2.0.1",
13-
"codemirror": "5.64.0",
13+
"codemirror": "5.65.0",
1414
"css-loader": "6.5.1",
1515
"dropzone": "6.0.0-beta.2",
1616
"easymde": "2.16.1",
17-
"esbuild-loader": "2.16.0",
17+
"esbuild-loader": "2.18.0",
1818
"escape-goat": "4.0.0",
19-
"fast-glob": "3.2.7",
19+
"fast-glob": "3.2.11",
2020
"font-awesome": "4.7.0",
2121
"jquery": "3.6.0",
2222
"jquery.are-you-sure": "1.9.0",
2323
"less": "4.1.2",
2424
"less-loader": "10.2.0",
2525
"license-checker-webpack-plugin": "0.2.1",
26-
"mermaid": "8.13.8",
27-
"mini-css-extract-plugin": "2.4.5",
28-
"monaco-editor": "0.30.1",
29-
"monaco-editor-webpack-plugin": "6.0.0",
26+
"mermaid": "8.13.9",
27+
"mini-css-extract-plugin": "2.5.2",
28+
"monaco-editor": "0.31.1",
29+
"monaco-editor-webpack-plugin": "7.0.1",
3030
"pretty-ms": "7.0.1",
3131
"sortablejs": "1.14.0",
3232
"swagger-ui-dist": "4.1.3",
3333
"tributejs": "5.1.3",
3434
"uint8-to-base64": "0.2.0",
3535
"vue": "2.6.14",
36-
"vue-bar-graph": "1.3.0",
36+
"vue-bar-graph": "1.3.1",
3737
"vue-calendar-heatmap": "0.8.4",
3838
"vue-loader": "15.9.8",
3939
"vue-template-compiler": "2.6.14",
40-
"webpack": "5.64.4",
40+
"webpack": "5.66.0",
4141
"webpack-cli": "4.9.1",
4242
"workbox-routing": "6.4.2",
4343
"workbox-strategies": "6.4.2",
@@ -46,20 +46,19 @@
4646
},
4747
"devDependencies": {
4848
"editorconfig-checker": "4.0.2",
49-
"eslint": "8.3.0",
50-
"eslint-plugin-github": "4.3.5",
49+
"eslint": "8.7.0",
5150
"eslint-plugin-html": "6.2.0",
52-
"eslint-plugin-import": "2.25.3",
53-
"eslint-plugin-unicorn": "39.0.0",
54-
"eslint-plugin-vue": "8.1.1",
55-
"jest": "27.4.3",
51+
"eslint-plugin-import": "2.25.4",
52+
"eslint-plugin-unicorn": "40.1.0",
53+
"eslint-plugin-vue": "8.3.0",
54+
"jest": "27.4.7",
5655
"jest-extended": "1.2.0",
5756
"jest-raw-loader": "1.0.1",
58-
"postcss-less": "5.0.0",
59-
"stylelint": "14.1.0",
57+
"postcss-less": "6.0.0",
58+
"stylelint": "14.2.0",
6059
"stylelint-config-standard": "24.0.0",
6160
"svgo": "2.8.0",
62-
"updates": "12.2.2"
61+
"updates": "13.0.0"
6362
},
6463
"browserslist": [
6564
"defaults",
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.