- Prettier — единственный форматтер (табы, 140, одинарные кавычки, в CSS — двойные); форматтер biome выключен, biome остаётся линтером и сортирует импорты. - ESLint (flat config): js/typescript-eslint/react-hooks recommended + правила biome.json, eslint-config-prettier последним. - npm run format / make format: eslint --fix → biome check --write → prettier --write. - npm run lint: eslint + prettier --check; входит в make lint и make check. - Разовое переформатирование 4 файлов, `(A | B)[]` вместо Array<…> в 3 местах, две находки ESLint в ConsoleTable (лишний `?? null`, тернарник-инструкция). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
268 B
JSON
17 lines
268 B
JSON
{
|
|
"useTabs": true,
|
|
"printWidth": 140,
|
|
"singleQuote": true,
|
|
"jsxSingleQuote": true,
|
|
"bracketSameLine": true,
|
|
"trailingComma": "all",
|
|
"semi": true,
|
|
"arrowParens": "always",
|
|
"overrides": [
|
|
{
|
|
"files": "*.css",
|
|
"options": { "singleQuote": false }
|
|
}
|
|
]
|
|
}
|