@crossplatformai/prettier-config
v0.0.2
Published
Shared Prettier configuration for CrossPlatform.ai projects
Downloads
530
Readme
@crossplatformai/package-prettier-config
Shared Prettier configuration for CrossPlatform.ai projects.
Usage
Install the package:
npm install @crossplatformai/package-prettier-configThen extend it in your prettier.config.mjs or .prettierrc.mjs:
import cpaiConfig from '@crossplatformai/package-prettier-config';
export default {
...cpaiConfig,
// Your overrides here
};Or use it directly in package.json:
{
"prettier": "@crossplatformai/package-prettier-config"
}Configuration
This configuration includes:
singleQuote: true- Use single quotes instead of double quotesjsxSingleQuote: true- Use single quotes in JSXtrailingComma: 'all'- Add trailing commas wherever possibleendOfLine: 'lf'- Use LF for line endings
License
See LICENSE for details.
