Skip to content

Commit 960d93a

Browse files
Early 2.0 (#5)
* Early 2.0 * Closer to 2.0.0 * Version 2.0.0 * Documentation * Upd readme?1 * Update * Add more tests * Retry * Fix workflow & retry * Hmm * Try * retry * Reduce number of CI actions Co-authored-by: Denis Tokarev <[email protected]> Co-authored-by: Denis Tokarev <[email protected]>
1 parent 06d2ce2 commit 960d93a

36 files changed

+10603
-412
lines changed

.codeclimate.yml

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,36 @@
1-
engines:
2-
eslint:
3-
enabled: true
4-
channel: 'eslint-3'
5-
config:
6-
extensions:
7-
- .js
8-
ratings:
9-
paths:
10-
- "src/**/*"
11-
- "**.md"
1+
version: '2'
122
checks:
13-
method-lines:
3+
argument-count:
4+
enabled: false
5+
complex-logic:
6+
enabled: false
7+
file-lines:
8+
enabled: true
149
config:
15-
threshold: 80
10+
threshold: 250
1611
method-complexity:
12+
enabled: true
1713
config:
1814
threshold: 16
19-
complex-logic:
15+
method-count:
16+
enabled: true
17+
config:
18+
threshold: 20
19+
method-lines:
20+
enabled: true
2021
config:
21-
threshold: 6
22+
threshold: 64
23+
exclude_patterns:
24+
- '.git/'
25+
- '.github/'
26+
- '.idea/'
27+
- 'coverage/'
28+
- 'dist/'
29+
- 'docs/'
30+
- 'node_modules/'
31+
- 'src/tests/'
32+
plugins:
33+
eslint:
34+
enabled: false
35+
nodesecurity:
36+
enabled: false

.editorconfig

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# editorconfig.org
21
root = true
32

43
[*]
5-
indent_style = space
64
end_of_line = lf
7-
charset = utf-8
8-
trim_trailing_whitespace = true
95
insert_final_newline = true
6+
charset = utf-8
7+
indent_style = space
108
indent_size = 2
9+
max_line_length=120

.eslintignore

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
coverage
2-
node_modules
3-
test
1+
# Folders
2+
.git/
3+
.github/
4+
.idea/
5+
coverage/
6+
dist/
7+
docs/
8+
lint/
9+
node_modules/
10+
11+
# Garbage
12+
*.DS_Store
13+
*.lock
414
*.log
5-
*.md

.eslintrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
extends: [
4+
'eslint:recommended',
5+
'plugin:@typescript-eslint/eslint-recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'prettier',
8+
'prettier/react',
9+
],
10+
plugins: ['@typescript-eslint', 'prettier'],
11+
parserOptions: {
12+
ecmaVersion: 5,
13+
sourceType: 'module',
14+
ecmaFeatures: {
15+
jsx: false,
16+
},
17+
},
18+
rules: {
19+
'@typescript-eslint/explicit-function-return-type': [0],
20+
'@typescript-eslint/no-use-before-define': [0],
21+
'prettier/prettier': 'error',
22+
},
23+
env: {
24+
browser: true,
25+
node: true,
26+
jest: true,
27+
es6: true,
28+
},
29+
root: true,
30+
};

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: devlato
4+
custom: http://paypal.me/devlatoau
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: '[Bug Report]'
5+
labels: Bug Report
6+
assignees: 'devlato'
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. ...
16+
17+
**Expected behavior**
18+
A clear and concise description of what you expected to happen.
19+
20+
**Screenshots**
21+
If applicable, add screenshots to help explain your problem.
22+
23+
**Additional context**
24+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: '[Feature Request]'
5+
labels: Feature Request
6+
assignees: 'devlato'
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: New Pull Request
3+
about: Create a report to help us improve
4+
title: '[PR]'
5+
labels: ''
6+
assignees: 'devlato'
7+
---
8+
9+
**Describe the problem this PR solves**
10+
A clear and concise description of what the pull request solves.
11+
12+
**Features and behaviour**
13+
A list of all the new features this PR adds, along with changed behavior.
14+
15+
**Describe how it solves the problem**
16+
A bit more detailed explanation of technical implementation.
17+
18+
**Additional context**
19+
Add any other context about the PR here, link issues, etc.

.github/auto_assign.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
addReviewers: true
2+
addAssignees: true
3+
4+
reviewers:
5+
- devlato
6+
7+
numberOfReviewers: 0
8+
9+
assignees:
10+
- devlato
11+
12+
numberOfAssignees: 0
13+
14+
skipKeywords:
15+
- WIP

0 commit comments

Comments
 (0)