diff --git a/docs/ru/applied/components.md b/docs/ru/applied/components.md index 79169e6..2eea2a8 100644 --- a/docs/ru/applied/components.md +++ b/docs/ru/applied/components.md @@ -13,7 +13,7 @@ title: Компоненты ```text container/ ├── styles/ -│ └── container.module.scss +│ └── container.module.css ├── types/ │ └── container.interface.ts ├── container.tsx @@ -22,7 +22,7 @@ container/ ## Пример базового компонента -`styles/container.module.scss` +`styles/container.module.css` ```scss .root {} ``` @@ -45,7 +45,7 @@ export interface ContainerProps extends HTMLAttributes {} import type { FC } from 'react' import cl from 'clsx' import type { ContainerProps } from './types/container.interface' -import styles from './styles/container.module.scss' +import styles from './styles/container.module.css' /** * Контейнер с адаптивной максимальной шириной. diff --git a/docs/ru/applied/page-level.md b/docs/ru/applied/page-level.md index 3b327e6..cbe6da5 100644 --- a/docs/ru/applied/page-level.md +++ b/docs/ru/applied/page-level.md @@ -21,9 +21,8 @@ title: Page-level компоненты ```tsx import type { PropsWithChildren } from 'react' import type { Metadata } from 'next' -import { ColorSchemeScript, MantineProvider } from '@mantine/core' -import '@mantine/core/styles.css' -import './globals.css' +import { Providers } from './providers' +import './styles/index.css' export const metadata: Metadata = { title: { @@ -53,13 +52,10 @@ export const metadata: Metadata = { export default function RootLayout({ children }: PropsWithChildren) { return ( - - - - + {children} - + ) diff --git a/docs/ru/applied/vscode.md b/docs/ru/applied/vscode.md index bc089f5..cbd7db8 100644 --- a/docs/ru/applied/vscode.md +++ b/docs/ru/applied/vscode.md @@ -53,7 +53,7 @@ title: Настройка VS Code "editor.defaultFormatter": "biomejs.biome", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "quickfix.biome": "explicit", + "source.fixAll.biome": "explicit", "source.organizeImports.biome": "explicit" }, "files.associations": { @@ -68,7 +68,7 @@ title: Настройка VS Code |---|---|---| | `editor.defaultFormatter` | `biomejs.biome` | Biome используется как единственный форматтер для всех файлов | | `editor.formatOnSave` | `true` | Код автоматически форматируется при каждом сохранении | -| `codeActionsOnSave.quickfix.biome` | `explicit` | Biome автоматически применяет безопасные исправления при сохранении | +| `codeActionsOnSave.source.fixAll.biome` | `explicit` | Biome автоматически применяет безопасные исправления при сохранении | | `codeActionsOnSave.source.organizeImports.biome` | `explicit` | Импорты сортируются и группируются автоматически при сохранении | | `files.associations` | `"*.css": "postcss"` | Все CSS-файлы открываются с подсветкой PostCSS вместо стандартного CSS | diff --git a/generated/ru/RULES.md b/generated/ru/RULES.md index 0a2d7cc..e1220fd 100644 --- a/generated/ru/RULES.md +++ b/generated/ru/RULES.md @@ -830,7 +830,7 @@ const parse = (value: any) => value; "editor.defaultFormatter": "biomejs.biome", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "quickfix.biome": "explicit", + "source.fixAll.biome": "explicit", "source.organizeImports.biome": "explicit" }, "files.associations": { @@ -845,7 +845,7 @@ const parse = (value: any) => value; |---|---|---| | `editor.defaultFormatter` | `biomejs.biome` | Biome используется как единственный форматтер для всех файлов | | `editor.formatOnSave` | `true` | Код автоматически форматируется при каждом сохранении | -| `codeActionsOnSave.quickfix.biome` | `explicit` | Biome автоматически применяет безопасные исправления при сохранении | +| `codeActionsOnSave.source.fixAll.biome` | `explicit` | Biome автоматически применяет безопасные исправления при сохранении | | `codeActionsOnSave.source.organizeImports.biome` | `explicit` | Импорты сортируются и группируются автоматически при сохранении | | `files.associations` | `"*.css": "postcss"` | Все CSS-файлы открываются с подсветкой PostCSS вместо стандартного CSS | @@ -1022,7 +1022,7 @@ src/ ```text container/ ├── styles/ -│ └── container.module.scss +│ └── container.module.css ├── types/ │ └── container.interface.ts ├── container.tsx @@ -1031,7 +1031,7 @@ container/ ### Пример базового компонента -`styles/container.module.scss` +`styles/container.module.css` ```scss .root {} ``` @@ -1054,7 +1054,7 @@ export interface ContainerProps extends HTMLAttributes {} import type { FC } from 'react' import cl from 'clsx' import type { ContainerProps } from './types/container.interface' -import styles from './styles/container.module.scss' +import styles from './styles/container.module.css' /** * Контейнер с адаптивной максимальной шириной. @@ -1117,9 +1117,8 @@ export { Container } from './container' ```tsx import type { PropsWithChildren } from 'react' import type { Metadata } from 'next' -import { ColorSchemeScript, MantineProvider } from '@mantine/core' -import '@mantine/core/styles.css' -import './globals.css' +import { Providers } from './providers' +import './styles/index.css' export const metadata: Metadata = { title: { @@ -1149,13 +1148,10 @@ export const metadata: Metadata = { export default function RootLayout({ children }: PropsWithChildren) { return ( - - - - + {children} - + )