1.2.1 • Published 6 months ago

@seriesfi/prettier-config v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

prettier-config

This package provides a shared Prettier configuration for all of our projects.

Installation

npm install --save-peer @seriesfi/prettier-config

Usage

Add a prettier.config.js file to the root of your project with the following contents:

import baseConfig from '@seriesfi/prettier-config'

const prettierConfig = {
  ...baseConfig,
  // Add any project-specific overrides here
}

export default prettierConfig

Ideally, this package is paired with our eslint-config package. It is suggested that you set up a pre-commit hook to run Prettier on all staged files. The GitHub Actions workflow will fail if any files are not formatted correctly.

1.2.1

6 months ago

1.2.0

6 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.1

6 months ago

1.0.0

7 months ago