Skip to content

Commit

Permalink
style: use prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jan 5, 2020
1 parent e3eb1ac commit 80e6fda
Show file tree
Hide file tree
Showing 32 changed files with 836 additions and 489 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ root = true

[*]
end_of_line = lf
insert_final_newline = false
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
Expand Down
18 changes: 9 additions & 9 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"@favware"
],
"rules": {
"new-cap": "off",
"object-curly-newline": "off",
"no-invalid-this": "off",
"no-useless-escape": "off",
"jest/valid-expect-in-promise": "off"
},
"parserOptions": {
"createDefaultProgram": true
"array-bracket-spacing": "off",
"eol-last":"off",
"comma-dangle":"off",
"no-useless-escape":"off",
"quotes":"off",
"no-invalid-this":"off",
"object-curly-newline":"off",
"new-cap":"off"
}
}
}
20 changes: 10 additions & 10 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Expand Down
7 changes: 5 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ pull request. We use ESLint to enforce a consistent coding style, any PR that do
merged until the formatting is resolved.

## Setup

To get ready to work on the codebase, please do the following:

1. Fork & clone the repository, and make sure you're on the **master** branch
2. Run `yarn install`
3. Code your heart out!
4. Ensure your changes compile (`yarn build`) and run by testing them using GraphQL Playground.
- You can start compiling in watch mode with `yarn watch`
- You can start a dev server with `yarn dev`

- You can start compiling in watch mode with `yarn watch`
- You can start a dev server with `yarn dev`

5. If you have any substantial code changes make sure these are covered in unit tests
6. Run `yarn lint && yarn test` to run ESLint and ensure all tests pass
7. Submit a pull request
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github: Favna
patreon: Favna
custom: https://donatebot.io/checkout/512303595966824458
custom: https://donatebot.io/checkout/512303595966824458
11 changes: 4 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---

name: Bug report
about: Report incorrect or unexpected behaviour of this library
title: 'Fix(): '
assignees: ''

---

<!--
---<!--
If you need help with the library installation or usage, please go to the Discord server instead:
https://favware.tech/redirect/server
This issue tracker is only for bug reports and enhancement suggestions.
Expand All @@ -15,15 +13,14 @@ You likely won't receive any basic help here.

**Please describe the problem you are having in as much detail as possible:**


**Include a reproducible code sample here, if possible:**
```js

```js
// Place your code here

```

**Further details:**

- version:
- Node.js version:
- Operating system:
Expand Down
6 changes: 2 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---

name: Feature request
about: Request a feature for the library
title: 'Feat(): '
assignees: ''

---

<!--
---<!--
If you need help with the library installation or usage, please go to the Discord server instead:
https://favware.tech/redirect/server
This issue tracker is only for bug reports and enhancement suggestions.
Expand Down
6 changes: 2 additions & 4 deletions .github/ISSUE_TEMPLATE/question---general-support-request.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---

name: Question / General support request
about: Ask for help in Discord instead - https://favware.tech/redirect/server
title: ''
assignees: ''

---

Seriously, we only use this issue tracker for bugs in the library itself and feature requests for it.
---Seriously, we only use this issue tracker for bugs in the library itself and feature requests for it.
We don't typically answer questions or help with support issues here.
Instead, please ask in one of the support channels in our Discord server:

Expand Down
Loading

0 comments on commit 80e6fda

Please sign in to comment.