Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.
/ prettier-styles Public archive

DEPRECATED - The prettier config used by all ORY projects. This is probably the most over-engineered repo ever.

License

Notifications You must be signed in to change notification settings

ory/prettier-styles

Ory prettier-styles

CI status

The Prettier configuration used by all ORY projects.

Local setup

To use the Prettier configuration without modifications, add this line to your package.json file:

  "prettier": "ory-prettier-styles",

To use the Prettier configuration with modifications, create a file .prettierrc.js with this content:

module.exports = {
  ...require("ory-prettier-styles"),
  // your custom Prettier settings here
}

GitHub Action

This also defines a GitHub action to use for format checking. Usage similar to:

name: Check format

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  format-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ory/prettier-styles@v1

About

DEPRECATED - The prettier config used by all ORY projects. This is probably the most over-engineered repo ever.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published