https://github.com/valtech-commerce/prettier-config
Opinionated Prettier shareable configs
https://github.com/valtech-commerce/prettier-config
npm-package prettier-config pwa-studio spire
Last synced: 2 months ago
JSON representation
Opinionated Prettier shareable configs
- Host: GitHub
- URL: https://github.com/valtech-commerce/prettier-config
- Owner: valtech-commerce
- License: mit
- Created: 2023-02-07T20:52:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-21T21:38:00.000Z (about 2 years ago)
- Last Synced: 2025-03-12T17:41:46.205Z (2 months ago)
- Topics: npm-package, prettier-config, pwa-studio, spire
- Language: JavaScript
- Homepage:
- Size: 1.31 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
README
# Prettier config
[![npm][npm-badge]][npm-url]
[![npms.io: Score][npmsio-badge]][npmsio-url]
[![libraries.io: SourceRank][librariesio-badge]][librariesio-url]
[![Tests][tests-badge]][tests-url]
[![License: MIT][license-badge]][license-url]> Opinionated Prettier [shareable configs](https://prettier.io/docs/en/configuration.html#sharing-configurations).
## Rulesets
| Ruleset | Description |
| -------------------------------------- | -------------- |
| **[core](shareable-config/core.yaml)** | **Core rules** |### Dependency tree
```mermaid
graph TD;
core;
```## Install
```
$ npm install @valtech-commerce/prettier-config
```## Usage
Add some Prettier config to your `.prettierrc.cjs`:
```js
module.exports = {
...require("@valtech-commerce/prettier-config/[RULESET]"),
};
```## Documentation
See the [Changelog](CHANGELOG.md) to see what has changed.
## Contribute
See the [Contributing Guidelines](CONTRIBUTING.md) for ways to get started.
See the [Support Guide](SUPPORT.md) for ways to get help.
See the [Security Policy](SECURITY.md) for sharing vulnerability reports.
This project has a [Code of Conduct](CODE_OF_CONDUCT.md).
By interacting with this repository, organization, or community you agree to abide by its terms.## License
[MIT](LICENSE) © [Valtech Canada inc.](https://www.valtech.ca/)
[npm-badge]: https://img.shields.io/npm/v/@valtech-commerce/prettier-config?style=flat-square
[npmsio-badge]: https://img.shields.io/npms-io/final-score/@valtech-commerce/prettier-config?style=flat-square
[librariesio-badge]: https://img.shields.io/librariesio/sourcerank/npm/@valtech-commerce/prettier-config?style=flat-square
[tests-badge]: https://img.shields.io/github/actions/workflow/status/valtech-commerce/prettier-config/tests.yaml?style=flat-square&branch=main
[license-badge]: https://img.shields.io/badge/license-MIT-green?style=flat-square
[npm-url]: https://www.npmjs.com/package/@valtech-commerce/prettier-config
[npmsio-url]: https://npms.io/search?q=%40valtech-commerce%2Fprettier-config
[librariesio-url]: https://libraries.io/npm/@valtech-commerce%2Fprettier-config
[tests-url]: https://github.com/valtech-commerce/prettier-config/actions/workflows/tests.yaml?query=branch%3Amain
[license-url]: https://opensource.org/licenses/MIT