🤖 PR generated for branch `fix/cyrillic-fonts-dev-certs-and-page-head`.
### Changes Summary
- **Fonts**: Add Cyrillic glyph subsets for Lato, EB Garamond, and Fira
Code.
- **Dev**: Support remote Root CA and encrypted dev CA key in
`.env.dev`.
- **UI & Kits**: Add size variant to `Breadcrumbs` component and enlarge
`PageHead` breadcrumbs with tuned collapse scroll threshold.
- **ESLint**: Add `no-hanging-particles` i18n & markdown typography rule
with auto-fixer.
- **Content & i18n**: Apply `ru-text` editorial and typography polish
(em dashes, number ranges, «ё» restoration, non-breaking spaces) across
`services/www` and `services/docs`.
32 lines
629 B
JavaScript
32 lines
629 B
JavaScript
// @ts-check
|
|
import { i18nPlugin } from '../plugins/i18n.js';
|
|
import { markdownParser } from '../parsers/markdown.js';
|
|
|
|
/**
|
|
* i18n typography and validation ESLint configuration.
|
|
*/
|
|
export const i18nConfig = [
|
|
{
|
|
files: ['**/*.i18n.{ts,tsx,js,jsx,mjs}'],
|
|
plugins: {
|
|
i18n: i18nPlugin,
|
|
},
|
|
rules: {
|
|
'i18n/no-hanging-particles': 'error',
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.{md,mdx}'],
|
|
languageOptions: {
|
|
parser: markdownParser,
|
|
},
|
|
plugins: {
|
|
i18n: i18nPlugin,
|
|
},
|
|
rules: {
|
|
'no-irregular-whitespace': 'off',
|
|
'i18n/no-hanging-particles': 'error',
|
|
},
|
|
},
|
|
];
|