diff --git a/.editorconfig b/.editorconfig index 617c31b..4a8aef8 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 diff --git a/.eslintrc b/.eslintrc index af1cd13..ac18446 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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" } -} \ No newline at end of file +} diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 0ed66aa..1aef439 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -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 diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 40edec7..9b8ddc1 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -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 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 1c68283..c6c5607 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,3 @@ github: Favna patreon: Favna -custom: https://donatebot.io/checkout/512303595966824458 \ No newline at end of file +custom: https://donatebot.io/checkout/512303595966824458 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 8dceddf..6b1b865 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,12 +1,10 @@ --- + name: Bug report about: Report incorrect or unexpected behaviour of this library title: 'Fix(): ' assignees: '' - ---- - -