Skip to content

Commit 018a5b6

Browse files
authored
Merge pull request #56 from padmajabhol/issue/pr-template
feat: add PR and Issue templates
2 parents 6fb071a + 829cfd4 commit 018a5b6

35 files changed

+5555
-4561
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-react"]
3+
}

.eslintrc

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"root": true,
3+
"extends": ["airbnb", "airbnb/hooks", "plugin:react/recommended", "prettier"],
4+
"plugins": ["react", "prettier"],
5+
"env": {
6+
"browser": true,
7+
"jest": true,
8+
"node": true,
9+
"es6": true
10+
},
11+
"globals": {
12+
"Atomics": "readonly",
13+
"SharedBufferArray": "readonly"
14+
},
15+
"parser": "babel-eslint",
16+
"parserOptions": {
17+
"ecmaVersion": 2020,
18+
"sourceType": "module",
19+
"ecmaFeatures": { "jsx": true },
20+
"allowImportExportEverywhere": false,
21+
"codeFrame": false
22+
},
23+
"settings": {
24+
"react": {
25+
"pragma": "React",
26+
"version": "detect"
27+
}
28+
},
29+
"rules": {
30+
"max-len": ["error", { "code": 100 }],
31+
"prefer-promise-reject-errors": ["off"],
32+
"react/jsx-filename-extension": ["off"],
33+
"no-return-assign": ["off"],
34+
"react/prop-types": 0,
35+
"import/prefer-default-export": 0,
36+
"no-use-before-define": 0,
37+
"click-events-have-key-events": 0,
38+
"no-static-element-interactions": 0,
39+
"prefer-destructuring": 1,
40+
"react/display-name": 0,
41+
"func-names": 0
42+
}
43+
}

.eslintrc.json

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
Thank you for taking the time to file a Bug report.
10+
11+
**Describe the bug**
12+
A clear and concise description of what the bug is.
13+
14+
**To Reproduce**
15+
Steps to reproduce the behavior:
16+
17+
1. Go to '...'
18+
2. Click on '....'
19+
3. Scroll down to '....'
20+
4. See error
21+
22+
**Expected behavior**
23+
A clear and concise description of what you expected to happen.
24+
25+
**Screenshots**
26+
If applicable, add screenshots to help explain your problem.
27+
28+
**Desktop (please complete the following information):**
29+
30+
- OS: [e.g. iOS]
31+
- Browser [e.g. chrome, safari]
32+
- Version [e.g. 22]
33+
34+
**Smartphone (please complete the following information):**
35+
36+
- Device: [e.g. iPhone6]
37+
- OS: [e.g. iOS8.1]
38+
- Browser [e.g. stock browser, safari]
39+
- Version [e.g. 22]
40+
41+
**Additional context**
42+
Add any other context about the problem here.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
Thank you for taking the time to file a Feature Request report.
10+
11+
**Is your feature request related to a problem? Please describe.**
12+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13+
14+
**Describe the solution you'd like**
15+
A clear and concise description of what you want to happen.
16+
17+
**Describe alternatives you've considered**
18+
A clear and concise description of any alternative solutions or features you've considered.
19+
20+
**Additional context**
21+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Pull Request Template
2+
3+
## Description
4+
5+
Please include a summary of the change. Please also include relevant motivation and context. List any dependencies that are required for this change.
6+
7+
Fixes # (issue)
8+
9+
## Type of change
10+
11+
Please delete options that are not relevant.
12+
13+
- [ ] Bug fix (non-breaking change which fixes an issue).
14+
- [ ] New feature (non-breaking change which adds functionality).
15+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
16+
- [ ] This change requires a documentation update.
17+
18+
## How Has This Been Tested?
19+
20+
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
21+
22+
## Additional Context (Please include any Screenshots/gifs if relevant)
23+
24+
...
25+
26+
## Checklist:
27+
28+
- [ ] My code follows the style guidelines of this project.
29+
- [ ] I have performed a self-review of my own code.
30+
- [ ] I have made corresponding changes to the documentation.
31+
- [ ] I have added corresponding tests.
32+
- [ ] Any dependent changes have been merged and published in downstream modules.
33+
- [ ] I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.
34+
35+
<!--- Thanks for opening this pull request! If the tests fail, please feel free to reach out to us by leaving a comment down below and we will be happy to take a look --->

.prettierrc.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
{
2+
"printWidth": 100,
3+
"trailingComma": "all",
4+
"tabWidth": 2,
25
"semi": true,
36
"singleQuote": true,
4-
"tabWidth": 2,
5-
"useTabs": false,
6-
"trailingComma": "all"
7-
}
7+
"arrowParens": "always",
8+
"bracketSpacing": true,
9+
"endOfLine": "auto",
10+
"proseWrap": "preserve",
11+
"quoteProps": "as-needed",
12+
"jsxBracketSameLine": false,
13+
"jsxSingleQuote": true
14+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<img src="logo.webp" alt="Logo">
1515
</a>
1616

17-
<h1 style="text-align:center">Journal Policy Tracker Frontend</h1>
17+
<h1 style="text-align:center">Journal Policy Tracker Backend</h1>
1818

1919
</p>
2020

0 commit comments

Comments
 (0)