mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
🔧 chore: update ESLint configuration and dependencies
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
"electron-store": "^8.2.0",
|
||||
"electron-vite": "^4.0.1",
|
||||
"es-toolkit": "^1.43.0",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint": "^9.18.0",
|
||||
"execa": "^9.6.1",
|
||||
"fast-glob": "^3.3.3",
|
||||
"fix-path": "^5.0.0",
|
||||
@@ -111,4 +111,4 @@
|
||||
"node-mac-permissions"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1321,4 +1321,4 @@
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,22 +48,6 @@ export default eslint(
|
||||
'@typescript-eslint/no-useless-constructor': 0,
|
||||
'no-extra-boolean-cast': 0,
|
||||
'react/no-unknown-property': 0,
|
||||
'unicorn/catch-error-name': 0,
|
||||
'unicorn/explicit-length-check': 0,
|
||||
'unicorn/no-array-callback-reference': 0,
|
||||
'unicorn/require-module-specifiers': 0,
|
||||
'unicorn/no-array-for-each': 0,
|
||||
'unicorn/no-negated-condition': 0,
|
||||
'unicorn/no-null': 0,
|
||||
'unicorn/no-typeof-undefined': 0,
|
||||
'unicorn/no-useless-undefined': 0,
|
||||
'unicorn/prefer-code-point': 0,
|
||||
'unicorn/prefer-logical-operator-over-ternary': 0,
|
||||
'unicorn/prefer-number-properties': 0,
|
||||
'unicorn/prefer-query-selector': 0,
|
||||
'unicorn/prefer-spread': 0,
|
||||
'unicorn/prefer-ternary': 0,
|
||||
'unicorn/prefer-type-error': 0,
|
||||
},
|
||||
},
|
||||
// MDX files
|
||||
|
||||
@@ -378,11 +378,10 @@
|
||||
"@huggingface/tasks": "^0.19.80",
|
||||
"@lobechat/types": "workspace:*",
|
||||
"@lobehub/i18n-cli": "^1.26.0",
|
||||
"@lobehub/lint": "2.0.0-beta.8",
|
||||
"@lobehub/lint": "2.0.2",
|
||||
"@lobehub/market-types": "^1.12.3",
|
||||
"@lobehub/seo-cli": "^1.7.0",
|
||||
"@next/bundle-analyzer": "^16.1.5",
|
||||
"@next/eslint-plugin-next": "^16.1.5",
|
||||
"@peculiar/webcrypto": "^1.5.0",
|
||||
"@playwright/test": "^1.58.0",
|
||||
"@prettier/sync": "^0.6.1",
|
||||
|
||||
Reference in New Issue
Block a user