Skip to content

Commit e1a9f43

Browse files
committed
[Release] v1.2.0
1 parent 3860533 commit e1a9f43

33 files changed

+12575
-946
lines changed

.all-contributorsrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"projectName": "json-token-replace",
3+
"projectOwner": "ptkdev",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": true,
11+
"contributors": [
12+
{
13+
"login": "ptkdev",
14+
"name": "Patryk Rzucidło",
15+
"avatar_url": "https://avatars1.githubusercontent.com/u/442844?v=4",
16+
"profile": "https://ptk.dev",
17+
"contributions": [
18+
"code",
19+
"translation",
20+
"doc",
21+
"bug"
22+
]
23+
}
24+
],
25+
"contributorsPerLine": 6,
26+
"commitConvention": "none"
27+
}

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = false
9+
trim_trailing_whitespace = true
10+
indent_style = tab
11+
indent_size = 4
12+
13+
[*.py]
14+
indent_style = space
15+
indent_size = 4

.eslintrc.json

100755100644
Lines changed: 63 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,65 @@
11
{
2-
"env":
3-
{
4-
"browser": true,
5-
"es6": true,
6-
"node": true
7-
},
8-
"extends": "eslint:recommended",
9-
"parserOptions":
10-
{
11-
"sourceType": "module",
12-
"ecmaVersion": 2017
13-
},
14-
"plugins": [
15-
"snakecasejs"
16-
],
17-
"rules":
18-
{
19-
"indent": [
20-
"error",
21-
4,
22-
{
23-
"SwitchCase": 1
24-
}
25-
],
26-
"linebreak-style": [
27-
"error",
28-
"unix"
29-
],
30-
"quotes": [
31-
"error",
32-
"double"
33-
],
34-
"semi": [
35-
"error",
36-
"always"
37-
],
38-
"no-console": [
39-
"warn"
40-
],
41-
"no-constant-condition": [
42-
"warn"
43-
],
44-
"snakecasejs/snakecasejs": "warn"
45-
}
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true,
6+
"jest/globals": true
7+
},
8+
"extends": "eslint:recommended",
9+
"parserOptions": {
10+
"sourceType": "module",
11+
"ecmaVersion": 2019
12+
},
13+
"plugins": [
14+
"jsdoc",
15+
"jest"
16+
],
17+
"settings": {
18+
"jsdoc": {
19+
"tagNamePreference": {
20+
"returns": "return"
21+
}
22+
}
23+
},
24+
"rules": {
25+
"no-multi-spaces": ["error", { "ignoreEOLComments": true, "exceptions": { "VariableDeclarator": true } }],
26+
"block-spacing": ["error", "always"],
27+
"array-bracket-spacing": ["error", "never"],
28+
"space-in-parens": ["error", "never"],
29+
"comma-spacing": ["error", { "before": false, "after": true }],
30+
"key-spacing": ["error", { "afterColon": true, "beforeColon": false }],
31+
"indent": ["error", "tab", { "SwitchCase": 1 }],
32+
"quotes": ["error","double", { "avoidEscape": true, "allowTemplateLiterals": true}],
33+
"semi": ["error", "always"],
34+
"no-console": ["warn"],
35+
"no-constant-condition": ["warn"],
36+
"curly": ["error", "all"],
37+
"brace-style": ["error", "1tbs", { "allowSingleLine": false }],
38+
"keyword-spacing": ["error", { "before": true, "after": true }],
39+
"object-curly-spacing": ["error", "never"],
40+
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
41+
"spaced-comment": [2, "always"],
42+
"space-before-blocks": ["error", "always"],
43+
"space-before-function-paren": ["error", "never"],
44+
"prefer-template": "error",
45+
"no-useless-concat": "error",
46+
"prefer-arrow-callback": ["error", { "allowNamedFunctions": true }],
47+
"linebreak-style": ["error", "unix"],
48+
"template-curly-spacing": ["error", "never"],
49+
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],
50+
"jest/no-disabled-tests": "warn",
51+
"jest/no-focused-tests": "error",
52+
"jest/no-identical-title": "error",
53+
"jest/prefer-to-have-length": "warn",
54+
"jest/valid-expect": "error",
55+
"jsdoc/require-param": 1,
56+
"jsdoc/require-param-description": 1,
57+
"jsdoc/require-param-name": 1,
58+
"jsdoc/require-param-type": 1,
59+
"jsdoc/require-returns": 1,
60+
"jsdoc/require-returns-description": 1,
61+
"jsdoc/require-returns-type": 1,
62+
"jsdoc/require-returns-check": 1,
63+
"jsdoc/require-hyphen-before-param-description": 1
64+
}
4665
}

.foreverignore

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

.gitattributes

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
## AUTO-DETECT
2+
* text=auto
3+
4+
## SOURCE CODE
5+
*.bat text eol=crlf
6+
*.css text eol=lf
7+
*.html text diff=html eol=lf
8+
*.ini text eol=crlf
9+
*.js text eol=lf
10+
*.json text eol=lf
11+
*.php text diff=php eol=lf
12+
*.py text diff=python eol=lf
13+
*.rb text diff=ruby
14+
*.sass text eol=lf
15+
*.scss text eol=lf
16+
*.sh text eol=lf
17+
*.sql text eol=lf
18+
*.ts text eol=lf
19+
*.vue text eol=lf
20+
*.xml text eol=lf
21+
*.xhtml text diff=html eol=lf
22+
23+
## DOCKER
24+
*.dockerignore text eol=lf
25+
Dockerfile text eol=lf
26+
27+
## DOCUMENTATION
28+
*.md text eol=lf
29+
*.txt text eol=lf
30+
AUTHORS text eol=lf
31+
CHANGELOG text eol=lf
32+
CHANGES text eol=lf
33+
CONTRIBUTING text eol=lf
34+
COPYING text eol=lf
35+
INSTALL text eol=lf
36+
license text eol=lf
37+
LICENSE text eol=lf
38+
NEWS text eol=lf
39+
README text eol=lf
40+
TODO text eol=lf
41+
42+
## TEMPLATES
43+
*.dot text eol=lf
44+
*.tpl text eol=lf
45+
*.twig text eol=lf
46+
47+
## LINTERS
48+
.csslintrc text eol=lf
49+
.eslintrc text eol=lf
50+
.htmlhintrc text eol=lf
51+
.jscsrc text eol=lf
52+
.jshintrc text eol=lf
53+
.jshintignore text eol=lf
54+
.stylelintrc text eol=lf
55+
.npmignore text eol=lf
56+
57+
## CONFIGS
58+
*.bowerrc text eol=lf
59+
*.cnf text eol=lf
60+
*.conf text eol=lf
61+
*.config text eol=lf
62+
.babelrc text eol=lf
63+
.browserslistrc text eol=lf
64+
.editorconfig text eol=lf
65+
.env text eol=lf
66+
.gitattributes text eol=lf
67+
.gitconfig text eol=lf
68+
.htaccess text eol=lf
69+
*.lock text eol=lf
70+
*.npmignore text eol=lf
71+
*.yaml text eol=lf
72+
*.yml text eol=lf
73+
browserslist text eol=lf
74+
Makefile text eol=lf
75+
makefile text eol=lf
76+
77+
## GRAPHICS
78+
*.ai binary
79+
*.bmp binary
80+
*.eps binary
81+
*.gif binary
82+
*.ico binary
83+
*.jng binary
84+
*.jp2 binary
85+
*.jpg binary
86+
*.jpeg binary
87+
*.jpx binary
88+
*.jxr binary
89+
*.pdf binary
90+
*.png binary
91+
*.psb binary
92+
*.psd binary
93+
*.svg text
94+
*.svgz binary
95+
*.tif binary
96+
*.tiff binary
97+
*.wbmp binary
98+
*.webp binary
99+
100+
## AUDIO
101+
*.kar binary
102+
*.m4a binary
103+
*.mid binary
104+
*.midi binary
105+
*.mp3 binary
106+
*.ogg binary
107+
*.ra binary
108+
109+
## VIDEO
110+
*.3gpp binary
111+
*.3gp binary
112+
*.as binary
113+
*.asf binary
114+
*.asx binary
115+
*.fla binary
116+
*.flv binary
117+
*.m4v binary
118+
*.mng binary
119+
*.mov binary
120+
*.mp4 binary
121+
*.mpeg binary
122+
*.mpg binary
123+
*.ogv binary
124+
*.swc binary
125+
*.swf binary
126+
*.webm binary
127+
128+
## ARCHIVES
129+
*.7z binary
130+
*.gz binary
131+
*.jar binary
132+
*.rar binary
133+
*.tar binary
134+
*.zip binary
135+
136+
## FONTS
137+
*.ttf binary
138+
*.eot binary
139+
*.otf binary
140+
*.woff binary
141+
*.woff2 binary
142+
143+
## EXECUTABLES
144+
*.exe binary
145+
*.pyc binary
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: 🐛 Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
<!-- Please search existing issues to avoid creating duplicates, remember before the title text add tag: [Bug report] -->
7+
8+
### Versions
9+
10+
<!-- Replace or update the values below with your own: -->
11+
12+
- **JTR Version:** v1.0.0
13+
- **Node Version:** v13.0.0
14+
- **Operating System:** Windows 10
15+
- **Terminal:** Windows Powershell
16+
17+
### Expected Behavior
18+
19+
<!-- Please describe below this line the program's expected behavior. -->
20+
21+
### Actual Behavior
22+
23+
<!-- Please describe below this line the program's actual behavior. Please include any stack traces
24+
or log output in the back ticks below. -->
25+
26+
### Steps to Reproduce
27+
28+
<!-- Please describe below this line the steps for reproduce this issue, are numbered below. Include as
29+
much detail as possible. -->
30+
31+
1. ...
32+
2. ...
33+
3. ...
34+
35+
### Screenshots (Optional)
36+
37+
<!-- If the error is graphical in nature it is helpful to provide a screenshot below this line. -->
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: 💫 Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
<!-- Please search existing issues to avoid creating duplicates, remember before the title text add tag: [Feature request] -->
7+
8+
### Feature description
9+
10+
<!-- Describe below this line the feature you'd like -->
11+
12+
### Feature motivation
13+
14+
<!-- Why do you want this? Write motivation below this line -->

.github/ISSUE_TEMPLATE/question.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: 🗨 Question
3+
about: Ask a question
4+
---
5+
6+
<!-- Please search existing issues to avoid creating duplicates, remember before the title text add tag: [Q] -->
7+
8+
### Question
9+
10+
<!-- Describe below this line the question -->
20.5 KB
Loading
29.6 KB
Loading

0 commit comments

Comments
 (0)