@studiometa/prettier-config

4.0.0 • Public • Published

Prettier configuration

NPM Version Dependency Status devDependency Status

Studio Meta's favorite Prettier configuration to be used across projects.

Installation

Install the package with NPM:

$ npm install --save-dev prettier @studiometa/prettier-config

Usage

Create a .prettierrc.js file in the root of your project with the following:

module.exports = require('@studiometa/prettier-config');

Contributing

This project uses Git Flow as a branching model, new feature will be added by pull-requests of feature/ branches against develop.

The JS files are linted with ESLint and Prettier. You can check for linting errors before your commits by running the following scripts with Yarn:

$ yarn lint # Check for linting errors
$ yarn fix # Fix the fixable linting errors

Or with NPM:

$ npm run lint # Check for linting errors
$ npm run fix # Fix the fixable linting errors

Readme

Keywords

none

Package Sidebar

Install

npm i @studiometa/prettier-config

Weekly Downloads

264

Version

4.0.0

License

MIT

Unpacked Size

7.19 kB

Total Files

11

Last publish

Collaborators

  • jeremiewerner