Files
openhuman/.prettierrc
T
Steven Enamakel 148d3f108f Add Prettier configuration and ignore files for code formatting
- 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.
2026-02-02 05:42:10 +05:30

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
}