mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 19:59:21 +08:00
chore: init tsslint (#31209)
Co-authored-by: Johnson Chu <johnsoncodehk@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
11
web/tsslint.config.ts
Normal file
11
web/tsslint.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { defineConfig, importESLintRules } from '@tsslint/config'
|
||||
|
||||
// Run `npx tsslint-docgen` to generate documentation for the configured rules.
|
||||
|
||||
export default defineConfig({
|
||||
rules: {
|
||||
...await importESLintRules({
|
||||
'react-x/no-leaked-conditional-rendering': 'warn',
|
||||
}),
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user