Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@qodestack/prettier-config
Advanced tools
A thorough prettier config you can use for new projects
Install this package:
bun add -D @qodestack/prettier-config
package.json
(no plugin support)Add this line to your package.json
file:
"prettier": "@qodestack/prettier-config"
Use a prettier.config.js
file with the following content (the plugin used here is just an example):
import qodeStackConfig from '@qodestack/prettier-config'
export default {
...qodeStackConfig,
plugins: ['prettier-plugin-tailwindcss'],
}
https://prettier.io/docs/en/configuration
You can configure Prettier via (in order of precedence):
"prettier"
key in your package.json, or package.yaml file..prettierrc
file written in JSON or YAML..prettierrc.json
, .prettierrc.yml
, .prettierrc.yaml
, or .prettierrc.json5
file..prettierrc.js
, or prettier.config.js
file that exports an object using export default
or module.exports
(depends on - the type value in your package.json)..prettierrc.mjs
, or prettier.config.mjs
file that exports an object using export default
..prettierrc.cjs
, or prettier.config.cjs
file that exports an object using module.exports
..prettierrc.toml
file.FAQs
A thorough prettier config you can use for new projects
We found that @qodestack/prettier-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.