Skip to content

Commit

Permalink
Setup prettier config (#191)
Browse files Browse the repository at this point in the history
Co-authored-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>
  • Loading branch information
cristianonicolai and ssbarnea authored Oct 13, 2023
1 parent 9020bcb commit 5ae04e4
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 79 deletions.
3 changes: 2 additions & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Community Code of Conduct

Please see the official [Ansible Community Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html).
Please see the official
[Ansible Community Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html).
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.gitignore
18 changes: 18 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
proseWrap: always
jsonRecursiveSort: true # prettier-plugin-sort-json
tabWidth: 2
useTabs: false
overrides:
- files:
- "*.md"
options:
# compatibility with markdownlint
proseWrap: always
printWidth: 80
- files:
- "*.yaml"
- "*.yml"
options:
# compatibility with yamllint
proseWrap: preserve
3 changes: 2 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

### 2.0.1 (2018-08-10)

- Convert AdHocResult.values() to return a list, not a generator (Thanks Alan Rominger)
- Convert AdHocResult.values() to return a list, not a generator (Thanks Alan
Rominger)
- Preliminary support for py3

### 2.0.0 (2017-07-27)
Expand Down
Loading

0 comments on commit 5ae04e4

Please # to comment.