Skip to content

Commit b501811

Browse files
Merge pull request #8 from dutchenkoOleg/develop
v2
2 parents 16ca4c6 + b7e40dd commit b501811

23 files changed

+3887
-3252
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[{package.json, package-lock.json}]
4+
indent_style = space
5+
indent_size = 2
6+
7+
[*.md]
8+
trim_trailing_whitespace = false

.eslintrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"root": true,
3+
"extends": ["@wezom/eslint-config", "eslint-config-prettier"],
4+
"plugins": ["jest"],
5+
"env": {
6+
"jest/globals": true
7+
}
8+
}

.github/workflows/test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Test
22

3-
on: [push, pull_request]
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the main branch
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
branches:
11+
- master
412

513
jobs:
614
test:
@@ -16,6 +24,6 @@ jobs:
1624
- name: Install deps
1725
run: npm ci
1826
- name: Code style
19-
run: npm run standard
27+
run: npm test
2028
- name: Jest tests
2129
run: npm run jest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.idea/
22
.cache/
3+
coverage/
34
node_modules/
45
*.log*
56
.DS_Store

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package.json
2+
package-lock.json
3+
.gitignore

.prettierrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"jsxBracketSameLine": false,
5+
"printWidth": 90,
6+
"semi": true,
7+
"singleQuote": true,
8+
"trailingComma": "none",
9+
"tabWidth": 4,
10+
"useTabs": true
11+
}

CONTRIBUTING-RU.md

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

CONTRIBUTING.md

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

0 commit comments

Comments
 (0)