Skip to content

LifewayIT/prettier-config-corinth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prettier Config

Prettier config for the LifewayIT Corinth team.

Setup

  1. Install the following as dev dependencies via npm or similar:
  1. Add a prettier.config.js file to the root of the repo. It will need to include the following:
const prettierConfig = require('prettier-config-corinth');

module.exports = prettierConfig;
  1. If applicable, extend the existing eslintrc file to include prettier. For example:
module.exports = {
  env: {
    node: true,
    es6: true
  },
  extends: ["corinth", "prettier"]
};
  1. Install and enable the Prettier plugin for VSCode, which can be found here

Modify Rules

If you would like to modify the prettier configuration, simply modify the index.json file. The docs for possible options are here.

About

Prettier config for the LifewayIT Corinth team.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published