mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 00:33:37 +08:00
Add vite-plus toolchain, shared ESLint config via @antfu/eslint-config, tsgo type-check, pre-commit staged hooks, and CI lint/type-check steps for the @langgenius/dify-ui package. Made-with: Cursor
17 lines
344 B
JavaScript
17 lines
344 B
JavaScript
import antfu from '@antfu/eslint-config'
|
|
|
|
export default antfu({
|
|
type: 'lib',
|
|
ignores: [
|
|
'src/themes/tailwind-theme-var-define.ts',
|
|
'src/themes/light.css',
|
|
'src/themes/dark.css',
|
|
],
|
|
typescript: {
|
|
overrides: {
|
|
'ts/consistent-type-definitions': ['error', 'type'],
|
|
'ts/no-explicit-any': 'error',
|
|
},
|
|
},
|
|
})
|