New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@blue-raster/br-prettierjs

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blue-raster/br-prettierjs

Blue Raster Prettier Config

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

@blue-raster/br-prettier

This module was created to keep code formatting consistent across Blue Raster projects.

Set up

  • Install prettier

npm install --save-dev --save-exact prettier

  • Install this module locally:

npm install --save-dev @blue-raster/br-prettier

  • Reference this module in prettier.config.js;
// prettier.config.js
module.exports = {
  ...require('@blue-raster/br-prettierjs'),
}

Customize this module

  • Create a prettier.config.js file, export the module and include the customizations ⋅⋅⋅Note: customizing this file will override eslint customizations. That means there's no need to reference this module in your eslint config files.
// prettier.config.js
module.exports = {
  ...require('@blue-raster/br-prettierjs'),
  tabWidth: 10,
}

Keywords

prettier

FAQs

Package last updated on 02 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts