ESLint 9 flat config, Prettier, Stylelint, husky-хуки, lint-staged и nx-таргеты проверок в корневом project.json.
25 lines
491 B
Plaintext
25 lines
491 B
Plaintext
{
|
|
"printWidth": 100,
|
|
"useTabs": false,
|
|
"tabWidth": 4,
|
|
"semi": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"bracketSpacing": true,
|
|
"singleAttributePerLine": true,
|
|
"overrides": [
|
|
{
|
|
"files": ["*.json"],
|
|
"options": {
|
|
"printWidth": 10
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.md", "*.mdx"],
|
|
"options": {
|
|
"proseWrap": "always"
|
|
}
|
|
}
|
|
]
|
|
}
|