Skip to content

Commit

Permalink
Cleanup for GitHub Package CI
Browse files Browse the repository at this point in the history
  • Loading branch information
manifestinteractive committed Jul 15, 2022
1 parent 8b6252a commit 0077d10
Show file tree
Hide file tree
Showing 30 changed files with 3,029 additions and 6,275 deletions.
73 changes: 33 additions & 40 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,43 +1,36 @@
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 8
},
env: {
es6: true,
node: true,
browser: true,
jest: true
},
plugins: [
'prettier'
root: true,
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 8,
},
env: {
es6: true,
node: true,
browser: true,
jest: true,
},
plugins: ['prettier'],
extends: ['eslint:recommended', 'plugin:import/errors', 'plugin:import/warnings', 'prettier'],
rules: {
'prettier/prettier': [
'error',
{
singleQuote: true,
bracketSpacing: true,
semi: false,
printWidth: 500,
},
],
extends: [
'eslint:recommended',
'plugin:import/errors',
'plugin:import/warnings',
'prettier/standard'
'no-empty': [
'error',
{
allowEmptyCatch: true,
},
],
rules: {
'prettier/prettier': [
'error',
{
'singleQuote': true,
'bracketSpacing': true,
'semi': false,
'printWidth': 500
}
],
'no-empty': [
'error',
{
'allowEmptyCatch': true
}
],
'no-console': 0,
'no-control-regex': 0,
'no-useless-escape': 0,
},
globals: {}
}
'no-console': 0,
'no-control-regex': 0,
'no-useless-escape': 0,
},
globals: {},
}
18 changes: 5 additions & 13 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,26 @@
![Logo](https://sfccdevops.s3.amazonaws.com/logo-128.png "Logo")

Contributing Guide
===

<img src="https://octodex.github.com/images/inspectocat.jpg" width="320" style="display: block; margin: 0 auto;">

> We are excited that you are interested in contributing to our project. Before submitting your contribution though, please make sure to take a moment and read through the following guidelines.
Issues & Feature Requests
---

### Bug Fix
[![Create Issue](https://img.shields.io/badge/Github-Create_Issue-red.svg?style=for-the-badge&logo=github&logoColor=ffffff&logoWidth=16)](https://github.com/sfccdevops/sfcc-cartridge-diff/issues/new/choose)

[![Staging Environment](https://img.shields.io/badge/Create-Bug_Report-fbca04.svg?style=for-the-badge&logo=github&logoColor=ffffff&logoWidth=16)](https://github.com/sfccdevops/sfcc-cartridge-diff/issues/new?labels=Bug%20Report)
### Bug Fix

> We're sorry things are not working as expected, and want to get things fixed ASAP. In order to help us do that, we need a few things from you.
1. Create a [New Bug Report](https://github.com/sfccdevops/sfcc-cartridge-diff/issues/new?labels=Bug%20Report)
1. Create a [New Issue](https://github.com/sfccdevops/sfcc-cartridge-diff/issues/new/choose)
2. Enter a Short but Descriptive Title for the Issue
3. Use the Template Provided and fill in as much as you can, if something does not apply, enter `N/A`
4. Look for the `Labels` section, and select `Bug Report` from the drop down menu
5. Click `Submit new issue` button

### Feature Request

[![Staging Environment](https://img.shields.io/badge/Create-Feature_Request-9933cc.svg?style=for-the-badge&logo=github&logoColor=ffffff&logoWidth=16)](https://github.com/sfccdevops/sfcc-cartridge-diff/issues/new?labels=Feature%20Request)

> Got an idea for a new feature? We'd love to hear it! In order to get this knocked out, we will need a few things from you.
1. Create a [New Feature Request](https://github.com/sfccdevops/sfcc-cartridge-diff/issues/new?labels=Feature%20Request)
1. Create a [New Issue](https://github.com/sfccdevops/sfcc-cartridge-diff/issues/new/choose)
2. Enter a Short but Descriptive Title for the Feature Request
3. Use the Template Provided and fill in as much as you can, if something does not apply, enter `N/A` ( you can delete the `Steps to Duplicate:` section as that does not apply )
4. Look for the `Labels` section, and select `Feature Request` from the drop down menu
Expand All @@ -37,7 +29,7 @@ Issues & Feature Requests
Pull Requests
---

[![Staging Environment](https://img.shields.io/badge/Create-Pull_Request-006b75.svg?style=for-the-badge&logo=github&logoColor=ffffff&logoWidth=16)](https://github.com/sfccdevops/sfcc-cartridge-diff/compare?labels=Ready%20For%20Code%20Review)
[![Create Pull Request](https://img.shields.io/badge/Github-Create_Pull_Request-blue.svg?style=for-the-badge&logo=github&logoColor=ffffff&logoWidth=16)](https://github.com/sfccdevops/sfcc-cartridge-diff/compare)

### Bug Fix

Expand Down
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Bug Report
description: I would like to Report a Bug
labels: [Bug Report]
assignees:
- manifestinteractive
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Describe the Bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to ...
2. Click on ...
3. Scroll down to ...
4. See error ...
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
validations:
required: false
- type: textarea
attributes:
label: Environment
description: |
examples:
- **OS**: Ubuntu 20.04
- **Node**: 13.14.0
- **npm**: 7.6.3
value: |
- OS:
- Node:
- npm:
render: markdown
validations:
required: false
- type: textarea
attributes:
label: Additional Context
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

8 changes: 0 additions & 8 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: This is a new Feature Request for this project
labels: [Feature Request]
assignees:
- manifestinteractive
body:
- type: textarea
attributes:
label: Describe the Problem
description: Is your feature request related to a problem? Please describe.
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Describe the Solution
description: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Alternatives
description: Describe alternatives you've considered
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
attributes:
label: Additional Context
description: |
Add any other context or screenshots about the feature request here.
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Question
description: I have a Question about this project
labels: [Question]
assignees:
- manifestinteractive
body:
- type: textarea
attributes:
label: Question
description: Please Write your Question Below.
validations:
required: true
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/requested-change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Requested Change
description: This is a Requested Change to the project
labels: [Requested Change]
assignees:
- manifestinteractive
body:
- type: textarea
attributes:
label: Describe the Problem
description: Is your requested change related to a problem? Please describe.
placeholder: A clear and concise description of what the request is.
validations:
required: true
- type: textarea
attributes:
label: Describe the Solution
description: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Alternatives
description: Describe alternatives you've considered
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
attributes:
label: Additional Context
description: |
Add any other context or screenshots about the feature request here.
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
10 changes: 4 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
Overview:
Overview
---

TEXT

Reviewer:
Reviewer
---

> Where should the reviewer start? How to Test? Background Context? etc ( required )
TEXT

Checklist:
Checklist
---

> I have tested each of the following, and they work as expected: ( required )
- [ ] Meets [Contributing Guide](https://github.com/sfccdevops/sfcc-cartridge-diff/blob/develop/.github/CONTRIBUTING.md) Requirements
- [ ] Pulled in the Latest Code from the `develop` branch
- [ ] Works on a Desktop / Laptop Device
- [ ] Works on a Mobile Device
- [ ] `npm test` Does Not Generate Errors

Documentation:
Documentation
---

> Screenshots, Attachments, Linked GitHub Issues, etc ( optional )
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/assign_to_project.yml

This file was deleted.

Loading

0 comments on commit 0077d10

Please sign in to comment.