Skip to content

Commit e7f58d6

Browse files
authored
Merge pull request #101 from Nefariusek/develop
Release 1.0
2 parents f872181 + a8a5301 commit e7f58d6

60 files changed

Lines changed: 13934 additions & 1929 deletions

Some content is hidden

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

.eslintrc

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,27 @@
33
"env": {
44
"es6": true,
55
"browser": true,
6-
"node": true
6+
"node": true,
7+
"jest": true
78
},
89
"parserOptions": {
910
"ecmaVersion": "latest",
1011
"sourceType": "module"
1112
},
12-
"prettier/prettier": [
13-
"error",
14-
{
15-
"endOfLine": "auto"
16-
}
17-
]
13+
14+
"rules": {
15+
"import/prefer-default-export": 0,
16+
"no-restricted-syntax": "off",
17+
"no-param-reassign": [2, { "props": false }],
18+
"prettier/prettier": [
19+
"error",
20+
{
21+
"endOfLine": "auto"
22+
}
23+
],
24+
"no-use-before-define": "off",
25+
"no-plusplus": "off",
26+
"import/no-cycle": "off",
27+
"no-underscore-dangle": 0
28+
}
1829
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ dist-ssr
3838
# Yarn
3939
.yarn
4040
.pnp.*
41+
src/score/user-score.html

.husky/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm test
5+
npm run pre-commit

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"singleQuote": true,
44
"trailingComma": "all",
55
"tabWidth": 2,
6-
"semi": true
6+
"semi": true,
7+
"endOfLine": "auto"
78
}

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,14 @@ Node.js >=16 (https://nodejs.org/en/)
1616
By default server should be running here: localhost:3000
1717

1818
To stop local press `Ctrl+C`
19+
20+
**Credits**
21+
22+
Graphics Designed by:
23+
* karacis studio from <a href="https://lovepik.com/image-450013302/cute-koala-cartoon-vector.html">LovePik.com</a>
24+
* Damian Orellana from <a href="https://dribbble.com/damianthebear">dribbble.com/damianthebear</a>
25+
26+
Photos by:
27+
* <a href="https://unsplash.com/@ralu_gal?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Ralu Gal</a> on <a href="https://unsplash.com/s/photos/dog?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
28+
* <a href="https://unsplash.com/@alvannee?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Alvan Nee</a> on <a href="https://unsplash.com/s/photos/cat?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
29+
* <a href="https://unsplash.com/@yazoone?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">yaz00ne alani</a> on <a href="https://unsplash.com/s/photos/parrot?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>

babel.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
presets: [
3+
[
4+
'@babel/preset-env',
5+
{
6+
targets: {
7+
node: 'current',
8+
},
9+
},
10+
],
11+
],
12+
};

jest.config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Sync object
2+
/** @type {import('@jest/types').Config.InitialOptions} */
3+
4+
const config = {
5+
verbose: true,
6+
collectCoverage: true,
7+
coverageThreshold: {
8+
global: {
9+
branches: 0,
10+
functions: 0,
11+
lines: 0,
12+
statements: 0,
13+
},
14+
},
15+
};
16+
17+
module.exports = config;

0 commit comments

Comments
 (0)