https://github.com/freight-trust/prettier-config-conformance
Prettier with Git Diff/Blame Support
https://github.com/freight-trust/prettier-config-conformance
blame diff git npm package prettier shell
Last synced: 3 months ago
JSON representation
Prettier with Git Diff/Blame Support
- Host: GitHub
- URL: https://github.com/freight-trust/prettier-config-conformance
- Owner: freight-trust
- License: apache-2.0
- Created: 2020-08-02T02:28:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-01T06:23:08.000Z (over 5 years ago)
- Last Synced: 2024-12-22T07:30:34.020Z (over 1 year ago)
- Topics: blame, diff, git, npm, package, prettier, shell
- Language: JavaScript
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Prettier with Git Diff/Blame Support
`@freight-trust/prettier-config`
> Prettier config with shell scripts to enable better Git Diff/Blame
## Conventions
Prefer `// eslint-disable-next-line` over `// eslint-disable-line`.
## Getting started
To install `@freight-trust/prettier-config` in your project, you will need to run the
following command using [npm](https://www.npmjs.com/):
```bash
npm install -S @freight-trust/prettier-config
```
If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
instead:
```bash
yarn add prettier-config-carbon
```
## Usage
You can use this prettier configuration by creating a `prettier.config.js` file
in the root of project and using this package in the following way:
```js
"use strict";
const prettierConfig = require("@freight-trust/prettier-config");
module.exports = prettierConfig;
```
## Shell Scripts
See [./bin](/bin)
## 🙌 Contributing
We're always looking for contributors to help us fix bugs, build new features,
or help us improve the project documentation. If you're interested, definitely
check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀
## 📝 License
Licensed under the [Apache 2.0 License](/LICENSE).