mirror of
https://github.com/gromlab-ru/slm-design.git
synced 2026-08-22 07:30:16 +03:00
chore: demo app
This commit is contained in:
21
examples/react-vite/.oxlintrc.json
Normal file
21
examples/react-vite/.oxlintrc.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
||||
"plugins": ["react", "typescript", "oxc"],
|
||||
"rules": {
|
||||
"no-restricted-imports": [
|
||||
"error",
|
||||
{
|
||||
"patterns": [
|
||||
"domains/*/*",
|
||||
"infra/*/*",
|
||||
"ui/*/*",
|
||||
"shared/lib/*/*",
|
||||
"compositions/screens/*/*",
|
||||
"compositions/layouts/*/*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"react/rules-of-hooks": "error",
|
||||
"react/only-export-components": ["warn", { "allowConstantExport": true }]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user