@freight-trust/prettier-config

prettier configuration


Keywords
blame, diff, git, npm, package, prettier, shell
License
Apache-2.0
Install
npm install @freight-trust/prettier-config@1.0.0

Documentation

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:

npm install -S @freight-trust/prettier-config

If you prefer Yarn, use the following command instead:

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:

"use strict";

const prettierConfig = require("@freight-trust/prettier-config");
module.exports = prettierConfig;

Shell Scripts

See ./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! 👀

📝 License

Licensed under the Apache 2.0 License.