Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

trivikr/prettier-v1-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier-v1-config

Use this shared configuration file if you need to update to prettier@2, but would like to continue use prettier@1 configuration

How to use this configuration

  • Add prettier-v1-config as devDependency
    • if using yarn, run yarn add -D prettier-v1-config
    • if using npm, run npm install --dev prettier-v1-config
  • reference it in package.json for example:
    {
      "name": "my-cool-library",
      "version": "9000.0.1",
      "prettier": "prettier-v1-config"
    }
    
  • any of the supported extensions can be used to export a string, e.g. .prettierrc.json:
    "prettier-v1-config"
    

About

Shared configuration for prettier version 1

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published