Skip to content

Commit

Permalink
major(all): eslint, prettier, lunaria added. ci added
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoireF committed Apr 30, 2024
1 parent 31ce518 commit e1a2752
Show file tree
Hide file tree
Showing 29 changed files with 3,841 additions and 309 deletions.
10 changes: 3 additions & 7 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"projectOwner": "habbaz-dev",
"repoType": "github",
"repoHost": "https://github.com/habbaz-dev/github-template/",
"files": [
"README.md"
],
"files": ["README.md"],
"imageSize": 100,
"commit": true,
"commitConvention": "angular",
Expand All @@ -15,9 +13,7 @@
"name": "Gregoire Favreau",
"avatar_url": "https://avatars.githubusercontent.com/u/16638358?v=4",
"profile": "https://github.com/GregoireF",
"contributions": [
"projectManagement"
]
"contributions": ["projectManagement"]
}
],
"contributorsPerLine": 7,
Expand All @@ -26,4 +22,4 @@
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
"linkToUsage": true,
"skipCi": true
}
}
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
17 changes: 17 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/cli/changelog",
{ "repo": "habbaz-dev/gihub-template" }
],
"commit": false,
"fixed": [],
"linked": [["habbaz-dev"]],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
2 changes: 1 addition & 1 deletion .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
extends: ['@wr-projects/commitlint-config']
extends: ["@wr-projects/commitlint-config"],
};
7 changes: 7 additions & 0 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

set -e

pnpm install --frozen-lockfile
pnpm lint
pnpm check
4 changes: 3 additions & 1 deletion .github/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exit 0
pnpm precommit

exit 0
17 changes: 9 additions & 8 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: "🐛 Bug Report"
description: Create a new ticket for a bug
title: "🐛 [BUG] - <title>"
labels: [
"status: 🆘 new-issue",
"status: 🆘 help-needed",
"status: ⌛ in-analysis",
"type: 🐛 bug",
"group: 💬 support"
]
labels:
[
"status: 🆘 new-issue",
"status: 🆘 help-needed",
"status: ⌛ in-analysis",
"type: 🐛 bug",
"group: 💬 support",
]
body:
- type: input
id: contact
Expand Down Expand Up @@ -118,4 +119,4 @@ body:
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/wr-projects/.github/blob/main/.github/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
required: true
8 changes: 2 additions & 6 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: "💡 Feature Request"
description: Create a new ticket for a new feature request
title: "💡 [REQUEST] - <title>"
labels: [
"status: 💡 rfc",
"status: 📝 discussion",
"status: ❓ question"
]
labels: ["status: 💡 rfc", "status: 📝 discussion", "status: ❓ question"]
body:
- type: input
id: start_date
Expand Down Expand Up @@ -62,4 +58,4 @@ body:
description: What questions still remain unresolved ?
placeholder: Identify any unresolved issues.
validations:
required: false
required: false
17 changes: 9 additions & 8 deletions .github/ISSUE_TEMPLATE/VULNERABILITY-REPORT.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: "🔐 Vulnerability Report"
description: Create a new ticket to report a vulnerability incident.
title: "🔐 [VULNERABILITY] - <title>"
labels: [
"status: 🆘 new-issue",
"status: 🆘 help-needed",
"impact: ⚠️ critical",
"type: 🔐 security",
"group: 👑 admin"
]
labels:
[
"status: 🆘 new-issue",
"status: 🆘 help-needed",
"impact: ⚠️ critical",
"type: 🔐 security",
"group: 👑 admin",
]
body:
- type: input
id: contact
Expand Down Expand Up @@ -99,4 +100,4 @@ body:
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/habbaz-dev/.github/blob/main/.github/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ contact_links:
about: Please ask and answer questions here.
- name: 💬 Join the Discord community
url: https://discord.com/channels/915183241063960587/915183241646968887
about: Come and chat with all the members of the community !
about: Come and chat with all the members of the community !
32 changes: 16 additions & 16 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,30 @@ Please describe any relevant performance impact of this change. This can be posi

Please describe the tests that you ran to verify your changes. Provide instructions so others can reproduce. Please also list any relevant details for your test configuration.

* Test A
* Test B
- Test A
- Test B

**Software Configuration**:

* Operating System:
* Software version:
* Branch:
* Toolchain version:
* SDK version:
- Operating System:
- Software version:
- Branch:
- Toolchain version:
- SDK version:

## Reviews

Please identify two developers to review this change

* @personA
* @personB
- @personA
- @personB

## Checklist:

* I have performed a self-review of my own code
* I have commented my code, particularly in hard-to-understand areas
* I have made corresponding changes to the documentation
* My changes generate no new warnings
* I have added tests that prove my fix is effective or that my feature works
* New and existing unit tests pass locally with my changes
* Any dependent changes have been merged and published in downstream modules
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
- I have made corresponding changes to the documentation
- My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature works
- New and existing unit tests pass locally with my changes
- Any dependent changes have been merged and published in downstream modules
Loading

0 comments on commit e1a2752

Please sign in to comment.