项目作者: freight-trust

项目描述 :
Prettier with Git Diff/Blame Support
高级语言: JavaScript
项目地址: git://github.com/freight-trust/prettier-config-conformance.git
创建时间: 2020-08-02T02:28:56Z
项目社区:https://github.com/freight-trust/prettier-config-conformance

开源协议:Apache License 2.0

下载


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:

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

If you prefer Yarn, use the following command
instead:

  1. 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:

  1. "use strict";
  2. const prettierConfig = require("@freight-trust/prettier-config");
  3. 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.