@climatiq/prettier-config
v1.1.1
Published
Prettier configuration for Climatiq projects
Readme
Climatiq Prettier Config
This package provides Climatiq's ESLint configuration as a base config for any project in Climatiq and requires prettier
Installation
To install this config and the peerDependencies (note the npx command). If you are using yarn, the command will detect it and will prompt to use yarn command instead.
npx install-peerdeps --dev @climatiq/prettier-configNow create a Prettier configuration file, .prettierrc for your project that extends Climatiq's rules:
"@climatiq/prettier-config"Now run npx prettier path/to/files to test if everything works as expected.
Editor/IDE integration
Running Prettier from your IDE or Editor is very useful as Prettier will fix formatting on-the-fly. Read this guide for more instructions
Release process
To publish a new release, just create a new Release on the GitHub Repo Releases page with the new version.
The GitHub Actions workflow release.yaml will tag the new version and publish it to npm.
Therefore, the version in the package.json does not necessarily reflect the current version of the package.
