
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@ilo-org/prettier-config
Advanced tools
Prettier configuration for ILO Design System projects
npm install -D @ilo-org/prettier-config
# or
pnpm add -D @ilo-org/prettier-config
# or
yarn add -D @ilo-org/prettier-config
Create a prettier.config.js file in your project root:
import prettierConfig from "@ilo-org/prettier-config";
export default prettierConfig;
You can extend the base configuration and override specific options:
import prettierConfig from "@ilo-org/prettier-config";
export default {
...prettierConfig,
printWidth: 100, // Override default
// Add your own custom options
};
Alternatively, you can reference the config directly in your package.json:
{
"prettier": "@ilo-org/prettier-config"
}
This configuration includes the following Prettier settings:
| Option | Value | Description |
|---|---|---|
endOfLine | lf | Use Unix-style line endings (LF) |
singleQuote | false | Use double quotes instead of single quotes |
tabWidth | 2 | Use 2 spaces for indentation |
trailingComma | es5 | Add trailing commas where valid in ES5 (objects, arrays, etc.) |
printWidth | 80 | Wrap lines at 80 characters |
endOfLine: "lf" - Ensures consistent line endings across all platforms (Unix/Linux/macOS)singleQuote: false - Uses double quotes, which is consistent with JavaScript/TypeScript conventionstabWidth: 2 - Two spaces provide a good balance between readability and horizontal spacetrailingComma: "es5" - Trailing commas make diffs cleaner and are valid in ES5 for objects and arraysprintWidth: 80 - Standard line length that works well for code reviews and side-by-side comparisonsThis Prettier configuration is designed to work seamlessly with @ilo-org/eslint-config, which includes eslint-plugin-prettier and eslint-config-prettier to ensure Prettier formatting is enforced and conflicts with ESLint are resolved.
// prettier.config.js
import prettierConfig from "@ilo-org/prettier-config";
export default prettierConfig;
For monorepos, you can share the config across packages:
// prettier.config.js (root)
import prettierConfig from "@ilo-org/prettier-config";
export default prettierConfig;
// prettier.config.js
import prettierConfig from "@ilo-org/prettier-config";
export default {
...prettierConfig,
// Override for specific file types
overrides: [
{
files: "*.md",
options: {
printWidth: 100,
},
},
],
};
Licensed under the Apache 2.0 License.
FAQs
Prettier config for ILO Design System
The npm package @ilo-org/prettier-config receives a total of 16 weekly downloads. As such, @ilo-org/prettier-config popularity was classified as not popular.
We found that @ilo-org/prettier-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.