@studiometa/prettier-config
v4.1.0
Published
Simple Prettier configuration
Downloads
1,429
Readme
Prettier configuration
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