Skip to content

Commit 44e3502

Browse files
committed
v1.0.2
Let's go!
0 parents  commit 44e3502

File tree

304 files changed

+30650
-0
lines changed

Some content is hidden

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

304 files changed

+30650
-0
lines changed

.eslintignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/docs
2+
/bin
3+
/lib
4+
/dist
5+
/tmp
6+
/site/extras
7+
**/node_modules

.eslintrc.json

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"plugins": ["@typescript-eslint", "react", "jest", "jsdoc", "import"],
4+
"extends": [
5+
"eslint:recommended",
6+
"plugin:react/all",
7+
"plugin:react-hooks/recommended",
8+
"plugin:jest/recommended",
9+
"plugin:@typescript-eslint/eslint-recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"plugin:import/recommended",
12+
"prettier"
13+
],
14+
"env": {
15+
"browser": true,
16+
"es6": true,
17+
"node": true,
18+
"jest/globals": true
19+
},
20+
"globals": {
21+
"page": true,
22+
"browser": true,
23+
"context": true,
24+
"jestPuppeteer": true
25+
},
26+
"parserOptions": {
27+
"ecmaVersion": 7,
28+
"ecmaFeatures": {
29+
"experimentalObjectRestSpread": true,
30+
"globalReturn": true,
31+
"jsx": true
32+
},
33+
"sourceType": "module"
34+
},
35+
"settings": {
36+
"react": {"version": "16.12.0"},
37+
"import/resolver": {
38+
"node": {
39+
"extensions": [".js", ".jsx", ".ts", ".tsx"]
40+
}
41+
}
42+
},
43+
"rules": {
44+
"@typescript-eslint/no-explicit-any": 0,
45+
"@typescript-eslint/no-var-requires": 0,
46+
"@typescript-eslint/no-unused-vars": [
47+
2,
48+
{"argsIgnorePattern": "^_.*", "varsIgnorePattern": "^_.*"}
49+
],
50+
"max-len": [
51+
2,
52+
{
53+
"code": 80,
54+
"ignorePattern": "^(\\s+\\* )?(imports?|exports?|\\} from|(.+ as .+))\\W.*",
55+
"ignoreUrls": true
56+
}
57+
],
58+
"no-var": 2,
59+
"no-console": 2,
60+
"object-curly-spacing": [2, "never"],
61+
"comma-dangle": [
62+
2,
63+
{
64+
"arrays": "always-multiline",
65+
"objects": "always-multiline",
66+
"imports": "always-multiline",
67+
"exports": "always-multiline",
68+
"functions": "always-multiline"
69+
}
70+
],
71+
"indent": 0,
72+
"no-empty": [2, {"allowEmptyCatch": true}],
73+
"linebreak-style": [2, "unix"],
74+
"space-infix-ops": 2,
75+
"quotes": [2, "single", {"allowTemplateLiterals": true}],
76+
"semi": [2, "always"],
77+
"sort-keys": 0,
78+
"sort-imports": 2,
79+
"jest/expect-expect": [2, {"assertFunctionNames": ["expect*"]}],
80+
"no-multiple-empty-lines": [2, {"max": 1}],
81+
"react/function-component-definition": [
82+
2,
83+
{
84+
"namedComponents": "arrow-function",
85+
"unnamedComponents": "arrow-function"
86+
}
87+
],
88+
"react/no-multi-comp": [2, {"ignoreStateless": true}],
89+
"react/no-find-dom-node": 0,
90+
"react/no-set-state": 0,
91+
"react/no-unsafe": 2,
92+
"jsx-quotes": [2, "prefer-double"],
93+
"react-hooks/exhaustive-deps": 2,
94+
"react-hooks/rules-of-hooks": 2,
95+
"react/destructuring-assignment": 0,
96+
"react/display-name": 0,
97+
"react/jsx-boolean-value": 0,
98+
"react/jsx-filename-extension": 0,
99+
"react/jsx-first-prop-new-line": [2, "multiline"],
100+
"react/jsx-handler-names": [
101+
2,
102+
{"eventHandlerPrefix": "_handle", "eventHandlerPropPrefix": "on"}
103+
],
104+
"react/jsx-indent": 0,
105+
"react/jsx-indent-props": [2, 2],
106+
"react/jsx-max-depth": [2, {"max": 5}],
107+
"react/jsx-max-props-per-line": [2, {"maximum": 1, "when": "multiline"}],
108+
"react/jsx-newline": 0,
109+
"react/jsx-no-literals": 0,
110+
"react/jsx-one-expression-per-line": 0,
111+
"react/jsx-props-no-spreading": 0,
112+
"react/jsx-sort-props": 0,
113+
"react/require-default-props": 0,
114+
"react/sort-comp": 0,
115+
"react/forbid-component-props": 0,
116+
"react/button-has-type": 0
117+
},
118+
"overrides": [
119+
{
120+
"files": ["src/@types/**/*.js"],
121+
"extends": ["plugin:jsdoc/recommended"],
122+
"settings": {"jsdoc": {"mode": "typescript", "contexts": ["any"]}},
123+
"rules": {
124+
"jsdoc/check-tag-names": [
125+
2,
126+
{"definedTags": ["category", "packageDocumentation"]}
127+
],
128+
"jsdoc/no-restricted-syntax": [
129+
2,
130+
{
131+
"contexts": [
132+
{
133+
"comment": "JsdocBlock:not(:has(JsdocTag[tag=/category|packageDocumentation/]))",
134+
"message": "Every non-module block requires a @category tag"
135+
},
136+
{
137+
"comment": "JsdocBlock:not(:has(JsdocTag[tag=since]))",
138+
"message": "Every block requires a @since tag"
139+
},
140+
{
141+
"comment": "JsdocBlock:has(JsdocTag[tag=since] ~ JsdocTag[tag=since])",
142+
"message": "Every block must have only one @since tag"
143+
}
144+
]
145+
}
146+
],
147+
"jsdoc/require-jsdoc": [2],
148+
"jsdoc/require-description": [2],
149+
"jsdoc/require-description-complete-sentence": [2],
150+
"jsdoc/require-returns-description": [2],
151+
"jsdoc/no-blank-blocks": [2],
152+
"jsdoc/require-param-type": [0],
153+
"jsdoc/require-returns-type": [0],
154+
"jsdoc/check-param-names": [0]
155+
}
156+
}
157+
]
158+
}

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: jamesgpearce
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: '🐛 Bug report'
2+
description: Create a report to help us improve
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thank you for reporting an issue :pray:.
8+
9+
This issue tracker is for reporting bugs found in `tinytick` (https://github.com/tinyplex/tinytick).
10+
If you have a question about how to achieve something and are struggling, please post a question
11+
inside of `tinytick` Discussions tab: https://github.com/tinyplex/tinytick/discussions
12+
13+
Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
14+
- `tinytick` Issues tab: https://github.com/tinyplex/tinytick/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
15+
- `tinytick` closed issues tab: https://github.com/tinyplex/tinytick/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed
16+
- `tinytick` Discussions tab: https://github.com/tinyplex/tinytick/discussions
17+
18+
The more information you fill in, the better the community can help you.
19+
- type: textarea
20+
id: description
21+
attributes:
22+
label: Describe the bug
23+
description: Provide a clear and concise description of the challenge you are running into.
24+
validations:
25+
required: true
26+
- type: input
27+
id: link
28+
attributes:
29+
label: Your Example Website or App
30+
description: |
31+
Which website or app were you using when the bug happened?
32+
Note:
33+
- Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the tinytick npm package/dependency.
34+
- To create a shareable code example you can use Stackblitz (https://stackblitz.com/). Please no localhost URLs.
35+
- Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve.
36+
placeholder: |
37+
e.g. https://stackblitz.com/edit/...... OR Github Repo
38+
- type: textarea
39+
id: steps
40+
attributes:
41+
label: Steps to Reproduce the Bug or Issue
42+
description: Describe the steps we have to take to reproduce the behavior.
43+
placeholder: |
44+
1. Go to '...'
45+
2. Click on '....'
46+
3. Scroll down to '....'
47+
4. See error
48+
- type: textarea
49+
id: expected
50+
attributes:
51+
label: Expected behavior
52+
description: Provide a clear and concise description of what you expected to happen.
53+
placeholder: |
54+
As a user, I expected ___ behavior but i am seeing ___
55+
- type: textarea
56+
id: screenshots_or_videos
57+
attributes:
58+
label: Screenshots or Videos
59+
description: |
60+
If applicable, add screenshots or a video to help explain your problem.
61+
For more information on the supported file image/file types and the file size limits, please refer
62+
to the following link: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files
63+
placeholder: |
64+
You can drag your video or image files inside of this editor ↓
65+
- type: textarea
66+
id: platform
67+
attributes:
68+
label: Platform
69+
value: |
70+
- OS: [e.g. macOS, Windows, Linux]
71+
- Browser: [e.g. Chrome, Safari, Firefox]
72+
- Version: [e.g. 91.1]
73+
- type: textarea
74+
id: additional
75+
attributes:
76+
label: Additional context
77+
description: Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 🤔 Feature Requests & Questions
4+
url: https://github.com/tinyplex/tinytick/discussions
5+
about: Please ask and answer questions here.
6+
# - name: 💬 Community Chat {Discord, Slack etc..} Channel
7+
# url: ...
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/pull_request_template.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Summary
2+
3+
Explain the motivation for making this change. What problem does it solve?
4+
5+
## How did you test this change?
6+
7+
Please provide evidence that you have tested this change under various
8+
circumstances.

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
bin
3+
lib
4+
dist
5+
tmp
6+
node_modules
7+
npm-debug.log
8+
.partykit

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"bracketSpacing": false,
3+
"singleQuote": true,
4+
"trailingComma": "all"
5+
}

0 commit comments

Comments
 (0)