Skip to content

Commit 1185043

Browse files
authored
chore: release #15
2 parents 43e5bdd + e58e89f commit 1185043

104 files changed

Lines changed: 8869 additions & 419 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.all-contributorsrc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"projectName": "react-crestron-ch5-hooks",
3+
"projectOwner": "norgate-av-solutions-ltd",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": false,
11+
"commitConvention": "angular",
12+
"contributorsPerLine": 7,
13+
"skipCi": true,
14+
"contributors": [
15+
{
16+
"login": "dependabot",
17+
"name": "Dependabot",
18+
"avatar_url": "https://avatars.githubusercontent.com/u/27347476?v=4",
19+
"profile": "https://github.com/features/security",
20+
"contributions": [
21+
"maintenance"
22+
]
23+
}
24+
]
25+
}

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
5+
charset = utf-8
6+
end_of_line = lf
7+
insert_final_newline = true
8+
indent_style = space
9+
indent_size = tab
10+
tab_width = 4
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
15+
trim_trailing_whitespace = false
16+
17+
[*.{yml,yaml}]
18+
19+
tab_width = 2

.eslintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
build/*
2+
public/*
3+
docs/*
4+
templates/*
5+
dist/*
6+
node_modules/*
7+
.history/*
8+
coverage/*

.eslintrc.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"jest": true
6+
},
7+
"extends": [
8+
// "react-app",
9+
// "react-app/jest",
10+
"airbnb",
11+
"airbnb-typescript",
12+
"plugin:import/typescript",
13+
"plugin:prettier/recommended"
14+
],
15+
"parser": "@typescript-eslint/parser",
16+
"parserOptions": {
17+
"ecmaFeatures": {
18+
"jsx": true
19+
},
20+
"ecmaVersion": "latest",
21+
"sourceType": "module",
22+
"project": "./tsconfig.eslint.json"
23+
},
24+
"plugins": ["react", "@typescript-eslint", "prettier"],
25+
"rules": {
26+
"quotes": [
27+
"error",
28+
"double",
29+
{
30+
"avoidEscape": true
31+
}
32+
],
33+
"@typescript-eslint/quotes": [
34+
"error",
35+
"double",
36+
{
37+
"avoidEscape": true
38+
}
39+
],
40+
"import/no-extraneous-dependencies": [
41+
"error",
42+
{
43+
"devDependencies": true
44+
}
45+
],
46+
"no-param-reassign": [
47+
"error",
48+
{
49+
"props": true,
50+
"ignorePropertyModificationsFor": ["state"]
51+
}
52+
],
53+
"react/jsx-uses-react": ["off"],
54+
"react/react-in-jsx-scope": ["off"],
55+
"react/jsx-props-no-spreading": ["warn"],
56+
"react/jsx-one-expression-per-line": "off",
57+
"no-shadow": "off",
58+
"@typescript-eslint/no-shadow": "off",
59+
"no-console": "off"
60+
}
61+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
### Current Behavior
10+
11+
<!-- If applicable, add screenshots/code to help explain your problem. -->
12+
13+
### Expected behavior
14+
15+
<!-- A clear and concise description of what you expected to happen. -->
16+
17+
### Suggested solution(s)
18+
19+
<!-- How could we solve this bug? What changes would need to be made? -->
20+
21+
### Additional context
22+
23+
<!-- Add any other context about the problem here. -->
24+
25+
### Your environment
26+
27+
<!--
28+
PLEASE RUN THIS COMMAND INSIDE YOUR PROJECT:
29+
npx envinfo --system OS --browsers --binaries --npmPackages @norgate-av/react-crestron-ch5-hooks,react,react-dom,typescript --npmGlobalPackages @norgate-av/react-crestron-ch5-hooks,typescript
30+
AND PASTE ITS CONTENTS BELOW INSIDE THE CODE SNIPPET vvvvvvvvv
31+
-->
32+
33+
```text
34+
35+
```

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
### Current Behavior
10+
11+
<!-- A clear and concise description of what is the current behavior / use. -->
12+
13+
### Desired Behavior
14+
15+
<!-- A clear and concise description of what you want to happen. -->
16+
17+
### Suggested Solution
18+
19+
<!-- Suggest a solution that the community/maintainers/you may take to enable the desired behavior -->
20+
21+
<!-- NOTE: Feature Requests without suggested solutions may not be addressed or treated with the same level of urgency as those that have suggested solutions. -->
22+
23+
### Who does this impact? Who is this for?
24+
25+
<!-- Who is this for? All users? TypeScript users? Beginners? Advanced? Yourself? People using X, Y, X, etc.? -->
26+
27+
### Describe alternatives you've considered
28+
29+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
30+
31+
### Additional context
32+
33+
<!-- Add any other context or links about the feature request here. -->

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
target-branch: "develop"

.github/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 3600
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- enhancement
8+
- pinned
9+
- RFC
10+
- bug
11+
- in progress
12+
- 2.0
13+
# Label to use when marking an issue as stale
14+
staleLabel: stale
15+
# Comment to post when marking an issue as stale. Set to `false` to disable
16+
markComment: false
17+
# Comment to post when closing a stale issue. Set to `false` to disable
18+
closeComment: false

0 commit comments

Comments
 (0)