diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..694d9f8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# Top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Set default charset +charset = utf-8 + +# 2 space indentation (default) +indent_style = space +indent_size = 2 + +# 2 space indentation (JS and JSX and TS files) +[*.{js,jsx,ts}] +indent_size = 2 + +# Trim trailing whitespace +trim_trailing_whitespace = true + +# Max line length +max_line_length = 150 diff --git a/.eslintrc.json b/.eslintrc.json index b41d3c7..c6c8e78 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,5 @@ { - "ignorePatterns": ["**/*.js", "dist", "helm"], + "ignorePatterns": ["**/*.js", "dist", "helm", "coverage", "reports", ".husky"], "extends": ["@map-colonies/eslint-config/jest", "@map-colonies/eslint-config/ts-base"], "parserOptions": { "project": "./tsconfig.lint.json" diff --git a/.gitattributes b/.gitattributes index 314b2ee..3b5aed2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ #prevent git from chaning line endings of sh file to /r/n on windows systems *.sh text eol=lf +*.* text eol=lf diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 03d32eb..ac41781 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -4,7 +4,6 @@ about: Create a report to help us improve title: '' labels: 'bug' assignees: '' - --- **Describe the bug** @@ -12,6 +11,7 @@ A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' @@ -23,6 +23,5 @@ A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. - **Additional context** Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 36014cd..104f391 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -4,7 +4,6 @@ about: Suggest an idea for this project title: '' labels: 'enhancement' assignees: '' - --- **Is your feature request related to a problem? Please describe.** diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9435ba3..c26ec58 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,20 +2,21 @@ Make sure you've read the contributing guidelines (CONTRIBUTING.md) --> -| Question | Answer | -| ---------------- | -------------------------------------------------------------------------- | -| Bug fix | ✔/✖ | -| New feature | ✔/✖ | -| Breaking change | ✔/✖ | -| Deprecations | ✔/✖ | -| Documentation | ✔/✖ | -| Tests added | ✔/✖ | -| Chore | ✔/✖ | +| Question | Answer | +| --------------- | ------ | +| Bug fix | ✔/✖ | +| New feature | ✔/✖ | +| Breaking change | ✔/✖ | +| Deprecations | ✔/✖ | +| Documentation | ✔/✖ | +| Tests added | ✔/✖ | +| Chore | ✔/✖ | Related issues: #XXX , #XXX ... Closes #XXX ... -Further information: +Further information: +