@a-marquez-test-org/dcc-prettier-config
v0.1.5
Published
Prettier config for DIFZ's DCC team
Downloads
2
Readme
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 to main. Just be certain to increment the package version to ensure the package publishes successfully, it will not override an existing package version.
NPM Authentication
Authentication takes place in the azure pipeline using the configured NPM service through an access token. You can view the service connection under Project Settings > Service connections
.