Skip to content

kontent-ai/dprint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository provides a shared dprint configuration for Kontent.ai repositories.

How to use?

  1. Install dprint
  2. Create dprint.json file (usually in the root of your repository)
  3. Extend the dprint.json file from this repository. Add this property to your json to do that. "extends": "https://raw.githubusercontent.com/kontent-ai/dprint-config/main/dprint.json"
  4. Add includes and/or excludes properties to your dprint.json as needed, because the shared config cannot provide that.
  5. Install dprint extension into your favourite IDE. https://dprint.dev/install/#editor-extensions

How to check the formatting on CI with dprint?

There is a CLI command to do just that dprint check, but your can leverage prepared scripts for GitHub Action or GitLab to do that for you.

About

Dprint configuration shared for Kontent.ai repositories

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks