forked from mirror/gitea
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
This commit is contained in:
parent
89a3214352
commit
8156e0f855
26
.eslintrc
26
.eslintrc
|
@ -13,7 +13,6 @@ plugins:
|
|||
- eslint-plugin-import
|
||||
- eslint-plugin-vue
|
||||
- eslint-plugin-html
|
||||
- eslint-plugin-github
|
||||
|
||||
extends:
|
||||
- plugin:vue/recommended
|
||||
|
@ -96,23 +95,6 @@ rules:
|
|||
function-paren-newline: [0]
|
||||
generator-star-spacing: [0]
|
||||
getter-return: [2]
|
||||
github/array-foreach: [2]
|
||||
github/async-currenttarget: [2]
|
||||
github/async-preventdefault: [2]
|
||||
github/authenticity-token: [0]
|
||||
github/get-attribute: [2]
|
||||
github/js-class-name: [0]
|
||||
github/no-blur: [0]
|
||||
github/no-d-none: [0]
|
||||
github/no-dataset: [2]
|
||||
github/no-implicit-buggy-globals: [0]
|
||||
github/no-inner-html: [0]
|
||||
github/no-innerText: [2]
|
||||
github/no-then: [0]
|
||||
github/no-useless-passive: [2]
|
||||
github/prefer-observers: [0]
|
||||
github/require-passive-events: [2]
|
||||
github/unescaped-html-literal: [0]
|
||||
grouped-accessor-pairs: [2]
|
||||
guard-for-in: [0]
|
||||
id-blacklist: [0]
|
||||
|
@ -301,6 +283,7 @@ rules:
|
|||
no-unsafe-negation: [2]
|
||||
no-unused-expressions: [2]
|
||||
no-unused-labels: [2]
|
||||
no-unused-private-class-members: [2]
|
||||
no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, ignoreRestSiblings: false}]
|
||||
no-use-before-define: [2, nofunc]
|
||||
no-useless-backreference: [0]
|
||||
|
@ -333,6 +316,7 @@ rules:
|
|||
prefer-exponentiation-operator: [2]
|
||||
prefer-named-capture-group: [0]
|
||||
prefer-numeric-literals: [2]
|
||||
prefer-object-has-own: [0]
|
||||
prefer-object-spread: [0]
|
||||
prefer-promise-reject-errors: [2, {allowEmptyReject: false}]
|
||||
prefer-regex-literals: [2]
|
||||
|
@ -379,7 +363,7 @@ rules:
|
|||
unicorn/import-style: [0]
|
||||
unicorn/new-for-builtins: [2]
|
||||
unicorn/no-abusive-eslint-disable: [0]
|
||||
unicorn/no-array-for-each: [0]
|
||||
unicorn/no-array-for-each: [2]
|
||||
unicorn/no-array-instanceof: [0]
|
||||
unicorn/no-array-method-this-argument: [2]
|
||||
unicorn/no-array-push-push: [2]
|
||||
|
@ -401,12 +385,14 @@ rules:
|
|||
unicorn/no-process-exit: [0]
|
||||
unicorn/no-reduce: [2]
|
||||
unicorn/no-static-only-class: [2]
|
||||
unicorn/no-thenable: [2]
|
||||
unicorn/no-this-assignment: [2]
|
||||
unicorn/no-unreadable-array-destructuring: [0]
|
||||
unicorn/no-unsafe-regex: [0]
|
||||
unicorn/no-unused-properties: [2]
|
||||
unicorn/no-useless-fallback-in-spread: [2]
|
||||
unicorn/no-useless-length-check: [2]
|
||||
unicorn/no-useless-promise-resolve-reject: [2]
|
||||
unicorn/no-useless-spread: [2]
|
||||
unicorn/no-useless-undefined: [0]
|
||||
unicorn/no-zero-fractions: [2]
|
||||
|
@ -426,6 +412,7 @@ rules:
|
|||
unicorn/prefer-event-key: [2]
|
||||
unicorn/prefer-export-from: [2]
|
||||
unicorn/prefer-includes: [2]
|
||||
unicorn/prefer-json-parse-buffer: [0]
|
||||
unicorn/prefer-math-trunc: [2]
|
||||
unicorn/prefer-modern-dom-apis: [0]
|
||||
unicorn/prefer-module: [2]
|
||||
|
@ -453,6 +440,7 @@ rules:
|
|||
unicorn/prefer-trim-start-end: [2]
|
||||
unicorn/prefer-type-error: [0]
|
||||
unicorn/prevent-abbreviations: [0]
|
||||
unicorn/relative-url-style: [2]
|
||||
unicorn/require-array-join-separator: [2]
|
||||
unicorn/require-number-to-fixed-digits-argument: [2]
|
||||
unicorn/require-post-message-target-origin: [0]
|
||||
|
|
File diff suppressed because it is too large
Load Diff
37
package.json
37
package.json
|
@ -8,36 +8,36 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@claviska/jquery-minicolors": "2.3.6",
|
||||
"@primer/octicons": "16.1.1",
|
||||
"@primer/octicons": "16.2.0",
|
||||
"add-asset-webpack-plugin": "2.0.1",
|
||||
"codemirror": "5.64.0",
|
||||
"codemirror": "5.65.0",
|
||||
"css-loader": "6.5.1",
|
||||
"dropzone": "6.0.0-beta.2",
|
||||
"easymde": "2.16.1",
|
||||
"esbuild-loader": "2.16.0",
|
||||
"esbuild-loader": "2.18.0",
|
||||
"escape-goat": "4.0.0",
|
||||
"fast-glob": "3.2.7",
|
||||
"fast-glob": "3.2.11",
|
||||
"font-awesome": "4.7.0",
|
||||
"jquery": "3.6.0",
|
||||
"jquery.are-you-sure": "1.9.0",
|
||||
"less": "4.1.2",
|
||||
"less-loader": "10.2.0",
|
||||
"license-checker-webpack-plugin": "0.2.1",
|
||||
"mermaid": "8.13.8",
|
||||
"mini-css-extract-plugin": "2.4.5",
|
||||
"monaco-editor": "0.30.1",
|
||||
"monaco-editor-webpack-plugin": "6.0.0",
|
||||
"mermaid": "8.13.9",
|
||||
"mini-css-extract-plugin": "2.5.2",
|
||||
"monaco-editor": "0.31.1",
|
||||
"monaco-editor-webpack-plugin": "7.0.1",
|
||||
"pretty-ms": "7.0.1",
|
||||
"sortablejs": "1.14.0",
|
||||
"swagger-ui-dist": "4.1.3",
|
||||
"tributejs": "5.1.3",
|
||||
"uint8-to-base64": "0.2.0",
|
||||
"vue": "2.6.14",
|
||||
"vue-bar-graph": "1.3.0",
|
||||
"vue-bar-graph": "1.3.1",
|
||||
"vue-calendar-heatmap": "0.8.4",
|
||||
"vue-loader": "15.9.8",
|
||||
"vue-template-compiler": "2.6.14",
|
||||
"webpack": "5.64.4",
|
||||
"webpack": "5.66.0",
|
||||
"webpack-cli": "4.9.1",
|
||||
"workbox-routing": "6.4.2",
|
||||
"workbox-strategies": "6.4.2",
|
||||
|
@ -46,20 +46,19 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"editorconfig-checker": "4.0.2",
|
||||
"eslint": "8.3.0",
|
||||
"eslint-plugin-github": "4.3.5",
|
||||
"eslint": "8.7.0",
|
||||
"eslint-plugin-html": "6.2.0",
|
||||
"eslint-plugin-import": "2.25.3",
|
||||
"eslint-plugin-unicorn": "39.0.0",
|
||||
"eslint-plugin-vue": "8.1.1",
|
||||
"jest": "27.4.3",
|
||||
"eslint-plugin-import": "2.25.4",
|
||||
"eslint-plugin-unicorn": "40.1.0",
|
||||
"eslint-plugin-vue": "8.3.0",
|
||||
"jest": "27.4.7",
|
||||
"jest-extended": "1.2.0",
|
||||
"jest-raw-loader": "1.0.1",
|
||||
"postcss-less": "5.0.0",
|
||||
"stylelint": "14.1.0",
|
||||
"postcss-less": "6.0.0",
|
||||
"stylelint": "14.2.0",
|
||||
"stylelint-config-standard": "24.0.0",
|
||||
"svgo": "2.8.0",
|
||||
"updates": "12.2.2"
|
||||
"updates": "13.0.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults",
|
||||
|
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue