ory / prettier-styles

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:Makefile 54.9%Language:JavaScript 33.1%Language:TypeScript 11.9%