mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 13:32:23 +00:00
- Introduced a new `.prettierrc` file to define code formatting rules, including settings for semicolons, trailing commas, and import order. - Added a `.prettierignore` file to exclude specific directories and files from formatting, ensuring a cleaner codebase. - Updated `package.json` to include new scripts for formatting and linting, enhancing the development workflow. These changes establish a consistent code style and improve maintainability across the project.
23 lines
620 B
Plaintext
23 lines
620 B
Plaintext
{
|
|
"semi": true,
|
|
"trailingComma": "es5",
|
|
"singleQuote": true,
|
|
"printWidth": 100,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"bracketSpacing": true,
|
|
"arrowParens": "avoid",
|
|
"endOfLine": "lf",
|
|
"bracketSameLine": true,
|
|
"objectWrap": "collapse",
|
|
"jsxSingleQuote": false,
|
|
"quoteProps": "as-needed",
|
|
"proseWrap": "preserve",
|
|
"plugins": ["@trivago/prettier-plugin-sort-imports"],
|
|
"importOrder": ["<THIRD_PARTY_MODULES>", "^src/", "^[../]", "^[./]"],
|
|
"importOrderSeparation": true,
|
|
"importOrderSortSpecifiers": true,
|
|
"importOrderCaseInsensitive": true,
|
|
"importOrderGroupNamespaceSpecifiers": true
|
|
}
|