@difz-dcc/prettier-config

0.1.6 • Public • Published

DIFZ DCC Prettier Config

Introduction

This package provides a prettier config with rules voted upon by members of the DCC Technical Team.

Recommended Usage

Steps:

  • Install this package npm i @difz-dcc/prettier-config (Note: this is published to NPM for ease of use, not a private Azure Artifact Feed)
  • Reference it in your project's package.json:
// package.json
{
  "name": "my-project",
  "prettier": "@difz-dcc/prettier-config"
  //  ...
}

Extending This Config

You shouldn't have to extend this config, this is intended for special cases only:

// prettier.config.js
module.exports = {
  ...require("@difz-dcc/prettier-config"),
  semi: false,
};

Publishing Updates

This repo's configured azure pipeline will trigger off a PR merge to main. Be certain to increment the package version to ensure the package publishes successfully, otherwise it will not overwrite an existing package version and the pipeline will fail.

NPM Authentication

Authentication takes place in the pipeline as a script using the configured NPM service through an access token. You can view the configuration in Azure DevOps under Project Settings > Service connections.

Readme

Keywords

none

Package Sidebar

Install

npm i @difz-dcc/prettier-config

Weekly Downloads

53

Version

0.1.6

License

ISC

Unpacked Size

1.76 kB

Total Files

3

Last publish

Collaborators

  • jerdak
  • dcc-albertm