Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@emerson-eps/prettier-config

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emerson-eps/prettier-config

Shared Prettier config for Emerson E&P Software

  • 2.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
876
increased by16.33%
Maintainers
0
Weekly downloads
 
Created
Source

Shared Prettier Config

GitHub Workflow Status GitHub license npm (scoped) semantic-release Conventional Commits

This is the home of the shared Emerson E&P Software Prettier config. For consistency this config should be used by all projects in E&P Software.

This config should normally be used in conjunction with @emerson-eps/eslint-config. Refer to that repository for instructions on using the two together.

Usage

npm install --save-dev @emerson-eps/prettier-config

The simplest way to include the prettier config is to reference the shared prettier config in the package.json file:

{
  "name": "my-library",
  "version": "1.0.0",
  "prettier": "@emerson-eps/prettier-config"
}

Alternatively add a .prettierrc.js to the project, which is also a requirement if you need to override some of the options, and import the module:

module.exports = {
  ...require("@emerson-eps/prettier-config"),
  // Additional rules...
};

Try not to override the shared config unless you really need to. If you must override it please consider proposing the override as a change to this repository first to avoid divergence of code styles in different projects.

For further Prettier configuration help including precedence of configuration options consult the Prettier documentation.

Integration with Visual Studio Code

If not already installed, install the Prettier extension.

Keywords

FAQs

Package last updated on 18 Jul 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc