🤖 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`.
48 lines
1.2 KiB
JavaScript
48 lines
1.2 KiB
JavaScript
// @ts-check
|
|
import { javascriptConfig } from './javascript.js';
|
|
import { getTypescriptConfig } from './typescript.js';
|
|
import { importsConfig } from './imports.js';
|
|
import { jsdocConfig } from './jsdoc.js';
|
|
import { testingConfig } from './testing.js';
|
|
import { toolingConfig } from './tooling.js';
|
|
import { defineMonorepoRestrictedImports } from './monorepo.js';
|
|
import { i18nConfig } from './i18n.js';
|
|
|
|
/**
|
|
* Common ignores for the entire monorepo.
|
|
*/
|
|
const ignoresConfig = {
|
|
ignores: [
|
|
'**/dist',
|
|
'**/node_modules',
|
|
'**/.github',
|
|
'**/.changeset',
|
|
'**/coverage',
|
|
'.config/**/*',
|
|
'*.config.{js,ts,mjs,cjs}',
|
|
'!.storybook', // Allow linting of .storybook directory
|
|
],
|
|
};
|
|
|
|
/**
|
|
* Assemble the base ESLint configuration.
|
|
*
|
|
* @param {string} rootDir - The root directory of the project using this config.
|
|
* @returns {import('eslint').Linter.Config[]} The assembled configuration.
|
|
*/
|
|
export function defineBaseConfig(rootDir) {
|
|
return [
|
|
ignoresConfig,
|
|
...javascriptConfig,
|
|
...getTypescriptConfig(rootDir),
|
|
...importsConfig,
|
|
...jsdocConfig,
|
|
...testingConfig,
|
|
...toolingConfig,
|
|
...i18nConfig,
|
|
...defineMonorepoRestrictedImports(rootDir),
|
|
];
|
|
}
|
|
|
|
export { i18nConfig };
|