Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adoyle-h/prettier-config-adoyle-style
https://github.com/adoyle-h/prettier-config-adoyle-style
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/adoyle-h/prettier-config-adoyle-style
- Owner: adoyle-h
- License: apache-2.0
- Created: 2022-04-28T08:45:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-29T14:14:05.000Z (over 2 years ago)
- Last Synced: 2024-10-13T11:15:30.607Z (about 1 month ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @adoyle.me/prettier-config
A prettier config for ADoyle's projects.
## Usage
1. `npm i -D @adoyle.me/prettier-config prettier`
2. Add `{"prettier": "@adoyle.me/prettier-config"}` to package.json, or `"@adoyle.me/prettier-config"` to .prettierrc file.
3. Add .editorconfig file on project root. See [.editorconfig](./.editorconfig) for example.
4. Create .prettierignore file. Disable modify markdown and html files. See [.prettierignore](./.prettierignore) for example.
5. If you use eslint, edit .eslintrc file, add `prettier` at the last of `extends`. See [.eslintrc.yaml](./.eslintrc.yaml) for example.
6. 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.
[LICENSE]: ./LICENSE
[NOTICE]: ./NOTICE