@adoyle.me/prettier-config
v1.0.1
Published
A prettier config for ADoyle's projects
Downloads
7
Readme
@adoyle.me/prettier-config
A prettier config for ADoyle's projects.
Usage
npm i -D @adoyle.me/prettier-config prettier
- Add
{"prettier": "@adoyle.me/prettier-config"}
to package.json, or"@adoyle.me/prettier-config"
to .prettierrc file. - Add .editorconfig file on project root. See .editorconfig for example.
- Create .prettierignore file. Disable modify markdown and html files. See .prettierignore for example.
- If you use eslint, edit .eslintrc file, add
prettier
at the last ofextends
. See .eslintrc.yaml for example. - Follow https://prettier.io/docs/en/install.html
Copyright and License
Copyright 2022 ADoyle ([email protected]) All Rights Reserved. The project is licensed under the Apache License Version 2.0.
See the LICENSE file for the specific language governing permissions and limitations under the License.
See the NOTICE file distributed with this work for additional information regarding copyright ownership.