更新依赖

pull/1583/head
lyswhut 2023-08-21 20:18:24 +08:00
parent 72fe8f3af1
commit 70815e276e
7 changed files with 237 additions and 101 deletions

View File

@ -44,11 +44,15 @@ const vueRule = {
exports.base = {
extends: ['standard'],
plugins: ['html'],
rules: baseRule,
parser: '@babel/eslint-parser',
}
exports.html = {
files: ['*.html'],
plugins: ['html'],
}
exports.typescript = {
files: ['*.ts'],
rules: typescriptRule,

View File

@ -12,6 +12,8 @@ module.exports = {
},
],
ignorePatterns: [
'node_modules',
'*.min.js',
'dist',
'build',
],

View File

@ -9,8 +9,6 @@ module.exports = {
'eslint-plugin-n',
'@types/ws',
'eslint-config-standard-with-typescript',
'@typescript-eslint/eslint-plugin',
'@typescript-eslint/parser',
],
// target: 'newest',

311
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -218,8 +218,6 @@
"@types/needle": "^3.2.0",
"@types/tunnel": "^0.0.3",
"@types/ws": "8.5.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@volar/vue-language-plugin-pug": "^1.6.5",
"@vue/language-plugin-pug": "^1.8.8",
"babel-loader": "^9.1.3",
@ -227,7 +225,7 @@
"chalk": "^4.1.2",
"changelog-parser": "^3.0.1",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.32.0",
"core-js": "^3.32.1",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
@ -236,16 +234,13 @@
"electron-builder": "^24.6.3",
"electron-debug": "^3.2.0",
"electron-devtools-installer": "^3.2.0",
"electron-to-chromium": "^1.4.494",
"electron-to-chromium": "^1.4.496",
"electron-updater": "^6.1.4",
"eslint": "^8.47.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-formatter-friendly": "github:lyswhut/eslint-friendly-formatter#2170d1320e2fad13615a9dcf229669f0bb473a53",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.17.0",
"eslint-plugin-vue-pug": "^0.6.0",
"eslint-webpack-plugin": "^4.0.1",
@ -279,7 +274,7 @@
},
"dependencies": {
"@simonwep/pickr": "^1.8.2",
"better-sqlite3": "^8.5.0",
"better-sqlite3": "^8.5.1",
"bufferutil": "^4.0.7",
"comlink": "~4.3.1",
"crypto-js": "^4.1.1",

View File

@ -1,10 +1,11 @@
/* eslint-env node */
const { base, typescript, vue } = require('../../.eslintrc.base.cjs')
const { base, html, typescript, vue } = require('../../.eslintrc.base.cjs')
module.exports = {
root: true,
...base,
overrides: [
html,
vue,
{
...typescript,

View File

@ -1,10 +1,11 @@
/* eslint-env node */
const { base, typescript, vue } = require('../../.eslintrc.base.cjs')
const { base, html, typescript, vue } = require('../../.eslintrc.base.cjs')
module.exports = {
root: true,
...base,
overrides: [
html,
vue,
{
...typescript,