Skip to content

Commit

Permalink
Merge branch 'smaranjitghose:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
anshika208 authored Jun 24, 2021
2 parents 406ab18 + 6baac13 commit 1d0ba7c
Show file tree
Hide file tree
Showing 123 changed files with 8,178 additions and 23,801 deletions.
26 changes: 26 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
jest: true,
},
extends: ["eslint:recommended", "plugin:react/recommended"],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: "module",
},
plugins: ["react"],
rules: {
"react/prop-types": "off",
"no-mixed-spaces-and-tabs": 0,
"react/no-unescaped-entities": 0,
indent: ["error", "tab", { SwitchCase: 1 }],
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: ["error", "always"],
},
};
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: "sunday"
time: "10:00"
timezone: "Asia/Kolkata"
open-pull-requests-limit: 10
labels:
- dependencies
commit-message:
prefix: "[Dependency] "
prefix-development: "[DevDependency]
47 changes: 47 additions & 0 deletions .github/labels.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[
{
"name": "good first issue",
"description": "This issue is good for first timers",
"color": "a9e3ff"
},
{
"name": "🆘 help wanted",
"description": "This issue needs help ! Please help if possible !",
"color": "ff00ff"
},
{
"name": "🟥 Level4 ",
"description": "This issue will be considered as level 4 issue for LGM-SOC 21.Points will be 45.",
"color": "b60205"
},
{
"name": "🟧 Level3 ",
"description": "This issue will be considered as level 3 issue for LGM-SOC 21.Points will be 25.",
"color": "ff9f1c"
},
{
"name": "🟨 Level2 ",
"description": "This issue will be considered as level 2 issue for LGM-SOC 21.Points will be 10",
"color": "ffcc00"
},
{
"name": "🟩 Level1 ",
"description": "This issue will be considered as level 1 issue for LGM-SOC 21.Points will be 5",
"color": "cfda2c"
},
{
"name": "🟪 Level0 ",
"description": "This issue will be considered as level 1 issue for LGM-SOC 21.Points will be 5",
"color": "aa00de"
},
{
"name": " LGMSOC21 ",
"description": "This issue will be considered for LGM-SOC 21",
"color": "d93f0b"
},
{
"name": " 🤩 Up for Grab ",
"description": "This issue will is not assigned ! Grab It !",
"color": "bf00ff"
}
]
23 changes: 0 additions & 23 deletions .github/workflows/add_labels.yaml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/issue-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Default

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Label Syncer
uses: micnncim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
with:
manifest: .github/labels.json
prune: false
19 changes: 0 additions & 19 deletions .github/workflows/issue_label.yaml

This file was deleted.

26 changes: 13 additions & 13 deletions .github/workflows/label_merge_conflicts.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: 'Check for merge conflicts'
on:
push:
branches:
- master
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: mschilde/auto-label-merge-conflicts@master
with:
CONFLICT_LABEL_NAME: 'merge-conflict'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: "Check for merge conflicts"
on:
push:
branches:
- master
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: mschilde/auto-label-merge-conflicts@master
with:
CONFLICT_LABEL_NAME: "merge-conflict"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46 changes: 23 additions & 23 deletions .github/workflows/mind_your_language.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Mind your language
# The events that triggers the workflow
on:
issues:
types: [opened, edited] # issue is opened or edited
issue_comment:
types: [created, edited] # issue comment is created or edited
pull_request_review_comment:
types: [created, edited] # PR comment is created or edited

jobs:
echo_issue_comment:
# The machine each job should run
runs-on: ubuntu-latest
name: profanity check
# The tasks each job should run
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Profanity check step
uses: tailaiw/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Mind your language
# The events that triggers the workflow
on:
issues:
types: [opened, edited] # issue is opened or edited
issue_comment:
types: [created, edited] # issue comment is created or edited
pull_request_review_comment:
types: [created, edited] # PR comment is created or edited

jobs:
echo_issue_comment:
# The machine each job should run
runs-on: ubuntu-latest
name: profanity check
# The tasks each job should run
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Profanity check step
uses: tailaiw/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38 changes: 19 additions & 19 deletions .github/workflows/poll_bot.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Reference: https://github.com/imjohnbo/gh-polls-bot-action
name: Poll Bot
# The events that triggers the workflow
on:
issue_comment:
types: [created, edited] # issue comment is created or edited
issues:
types: [opened, edited] # issue is opened or edited

jobs:
polls:
name: Poll Bot
# The machine each job should run
runs-on: ubuntu-latest
# The tasks each job should run
steps:
- uses: imjohnbo/gh-polls-bot-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Reference: https://github.com/imjohnbo/gh-polls-bot-action
name: Poll Bot
# The events that triggers the workflow
on:
issue_comment:
types: [created, edited] # issue comment is created or edited
issues:
types: [opened, edited] # issue is opened or edited

jobs:
polls:
name: Poll Bot
# The machine each job should run
runs-on: ubuntu-latest
# The tasks each job should run
steps:
- uses: imjohnbo/gh-polls-bot-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 16 additions & 16 deletions .github/workflows/pr_description_enforcer.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Reference: https://github.com/derkinderfietsen/pr-description-enforcer
name: 'PR Description Enforcer'
# The event that triggers the workflow
on:
pull_request:
types: [opened, edited, reopened]

jobs:
enforce:
# The machine each job should run
runs-on: ubuntu-latest
# The tasks each job should run
steps:
- uses: derkinderfietsen/pr-description-enforcer@v1
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
# Reference: https://github.com/derkinderfietsen/pr-description-enforcer
name: "PR Description Enforcer"
# The event that triggers the workflow
on:
pull_request:
types: [opened, edited, reopened]

jobs:
enforce:
# The machine each job should run
runs-on: ubuntu-latest
# The tasks each job should run
steps:
- uses: derkinderfietsen/pr-description-enforcer@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Ignore:
build
/public/images
/public/favicon
/public/*.png
/public/*.jpg
src/fonts
.gitignore
.prettierignore
14 changes: 14 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
bracketSpacing: true,
jsxBracketSameLine: false,
singleQuote: false,
trailingComma: "all",
arrowParens: "avoid",
endOfLine: "lf",
embeddedLanguageFormatting: "auto",
printWidth: 80,
proseWrap: "preserve",
tabWidth: 2,
semi: true,
useTabs: true,
};
28 changes: 14 additions & 14 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
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 All @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at smaranjitghose@protonmail.com, [email protected]. All
reported by contacting the project team at hello@smaranjitghose.com, [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
Loading

0 comments on commit 1d0ba7c

Please sign in to comment.