mirror of https://github.com/langgenius/dify.git
fix: upgrade @antfu/eslint-config to latest & enable tailwind css rules
This commit is contained in:
parent
acb8e8077d
commit
fe78f42176
|
|
@ -170,14 +170,7 @@ export default combine(
|
|||
tailwind.configs['flat/recommended'],
|
||||
{
|
||||
rules: {
|
||||
// due to 1k lines of tailwind config, these rule have performance issue
|
||||
'tailwindcss/no-contradicting-classname': 'off',
|
||||
'tailwindcss/no-unnecessary-arbitrary-value': 'off',
|
||||
'tailwindcss/enforces-shorthand': 'off',
|
||||
'tailwindcss/no-custom-classname': 'off',
|
||||
|
||||
// in the future
|
||||
'tailwindcss/classnames-order': 'off',
|
||||
'tailwindcss/no-custom-classname': 'error',
|
||||
},
|
||||
},
|
||||
)
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@
|
|||
"zustand": "^4.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^3.8.0",
|
||||
"@antfu/eslint-config": "^4.2.0",
|
||||
"@chromatic-com/storybook": "^3.1.0",
|
||||
"@eslint-react/eslint-plugin": "^1.15.0",
|
||||
"@eslint/eslintrc": "^3.1.0",
|
||||
|
|
@ -180,7 +180,7 @@
|
|||
"storybook": "8.5.0",
|
||||
"tailwindcss": "^3.4.14",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "4.9.5",
|
||||
"typescript": "5.7.3",
|
||||
"uglify-js": "^3.19.3"
|
||||
},
|
||||
"resolutions": {
|
||||
|
|
@ -201,4 +201,4 @@
|
|||
"@types/react-dom": "19.0.3",
|
||||
"@storybook/test": "8.5.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
7540
web/pnpm-lock.yaml
7540
web/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue