Skip to content

You can create a new repository by using this template, so by the way all of your PHP projects will have a nice and good pre-commit and prettier config.

License

Notifications You must be signed in to change notification settings

BaseMax/PHP-Prettier-Precommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Template: PHP Prettier & Pre-Commit

How to use?

code style: prettier

You can create a new repository by using this template, so by the way all of your PHP projects will have a nice and good pre-commit and prettier config.

How to run and check?

Installing:

pip install pre-commit
or
curl https://pre-commit.com/install-local.py | python -
or
brew install pre-commit
or
conda install -c conda-forge pre-commit

And run:

pre-commit run --all-files

What is Pre-Commit?

A framework for managing and maintaining multi-language pre-commit hooks.

https://pre-commit.com/

What is Prettier?

Prettier is an opinionated code formatter.

JavaScript · TypeScript · Flow · JSX · JSON CSS · SCSS · Less HTML · Vue · Angular GraphQL · Markdown · YAML

https://prettier.io/

https://github.com/prettier/prettier

What is StyleCI?

StyleCI is a continuous integration tool for your PHP, Python, JavaScript and CSS, JavaScript, Vue and Python developers which makes it super easy to ensure ...

https://styleci.io/

About

You can create a new repository by using this template, so by the way all of your PHP projects will have a nice and good pre-commit and prettier config.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published