Prettier config for DIFZ's DCC team
npm install @a-marquez-test-org/dcc-prettier-confignpm i @difz/dcc-prettier-config (Note: this is published to NPM for ease of use, not a private Azure Artifact Feed)
package.json:
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:
`javascript
// 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`.