refactor: приведение проекта к стайлгайду
- Разделён globals.css на styles/variables.css, media.css, reset.css - Добавлен styles/index.css как единая точка входа глобальных стилей - Вынесен MantineProvider в app/providers/ - Переименован .ui.tsx в .tsx в шаблоне component - Приведены CSS-токены радиусов к числовой шкале (--radius-1, --radius-2...) - Добавлен слой src/layouts/ - Настроен Biome: одинарные кавычки, исключены .templates, разрешён @custom-media - Обновлён .vscode/settings.json (quickfix.biome → source.fixAll.biome) - Обновлён AGENTS.md с правилами для агентов
This commit is contained in:
20
biome.json
20
biome.json
@@ -7,17 +7,33 @@
|
||||
},
|
||||
"files": {
|
||||
"ignoreUnknown": true,
|
||||
"includes": ["**", "!node_modules", "!.next", "!dist", "!build"]
|
||||
"includes": [
|
||||
"**",
|
||||
"!node_modules",
|
||||
"!.next",
|
||||
"!dist",
|
||||
"!build",
|
||||
"!.templates"
|
||||
]
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 2
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
"quoteStyle": "single",
|
||||
"jsxQuoteStyle": "double"
|
||||
}
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true
|
||||
"recommended": true,
|
||||
"suspicious": {
|
||||
"noUnknownAtRules": "off"
|
||||
}
|
||||
},
|
||||
"domains": {
|
||||
"next": "recommended",
|
||||
|
||||
Reference in New Issue
Block a user