Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vscode settings + format on commit #872

Merged
merged 6 commits into from May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .flycode.yaml
@@ -1,11 +1,11 @@
version: "0.1"
version: '0.1'
environments:
- name: develop
branch: develop
mode: pull-request
apps:
- name: bloom-frontend
path: ""
path: ''
text-resources:
- path: messages/*/*.json
format: nested-key-value
18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Expand Up @@ -4,14 +4,14 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
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 '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/general-issue-template.md
Expand Up @@ -4,13 +4,17 @@ about: General Issue template
title: ''
labels: ''
assignees: ''

---

### Overview

REPLACE THIS TEXT - Clearly state the purpose of this issue in 2 sentences or less

### Action Items

REPLACE THIS TEXT - List the research to be done, or the steps to be completed.
Note: If the steps can be divided into tasks for more than one person, we recommend dividing it up into separate issues, or assigning it as a pair programming task.

### Resources/Instructions

REPLACE THIS TEXT - Provide links to resources or instructions that may help with this issue. This can include files to be worked on, external sites with solutions, documentation, etc.
29 changes: 14 additions & 15 deletions .github/workflows/stale-issue-management.yml
Expand Up @@ -8,27 +8,26 @@ on:
workflow_dispatch:
# Scheduled to run at 12:00 on every 1st of the month.
schedule:
- cron: '0 12 1 * *'
- cron: '0 12 1 * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
# PR permissions can be added here
issues: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
remove-stale-when-updated: false
include-only-assigned: true
# Disable closing issues
days-before-close: -1
stale-issue-label: 'stale'
# Ignores comments as activity, only looks at date of issue creation.
ignore-updates: true
# Ignore developer staff and frequent contributors
exempt-assignees: 'kyleecodes, swetha-charles, eleanorreem, annarhughes, tarebyte'
stale-issue-message: 'As per Chayn policy, after 60 days of inactivity, we will be unassigning this issue to open it back up for contributors. Please comment to be re-assigned. Thank you for your interest in contributing to Chayn!'
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
remove-stale-when-updated: false
include-only-assigned: true
# Disable closing issues
days-before-close: -1
stale-issue-label: 'stale'
# Ignores comments as activity, only looks at date of issue creation.
ignore-updates: true
# Ignore developer staff and frequent contributors
exempt-assignees: 'kyleecodes, swetha-charles, eleanorreem, annarhughes, tarebyte'
stale-issue-message: 'As per Chayn policy, after 60 days of inactivity, we will be unassigning this issue to open it back up for contributors. Please comment to be re-assigned. Thank you for your interest in contributing to Chayn!'
5 changes: 1 addition & 4 deletions .gitignore
Expand Up @@ -27,17 +27,14 @@ yarn-error.log*
.env.development.local
.env.test.local
.env.production.local
.env*.local

# vercel
.vercel

# scratch files
/sandbox

# vscode and IDE settings
/.vscode
.env*.local

# PWA
/public/sw.js
/public/sw.js.map
Expand Down
2 changes: 2 additions & 0 deletions .husky/pre-commit
@@ -0,0 +1,2 @@
yarn format
yarn lint
4 changes: 4 additions & 0 deletions .vscode/extensions.json
@@ -0,0 +1,4 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"],
"unwantedRecommendations": ["ms-vscode.vscode-typescript-tslint-plugin"]
}
11 changes: 11 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,11 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit"
},
"cssVariables.lookupFiles": ["**/*.css", "**/*.scss", "**/*.sass", "**/*.less"]
}
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

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

## Enforcement Responsibilities
Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down