Skip to content

Commit

Permalink
Merge pull request #101 from Nefariusek/develop
Browse files Browse the repository at this point in the history
Release 1.0
  • Loading branch information
Nefariusek authored Jan 5, 2022
2 parents f872181 + a8a5301 commit e7f58d6
Show file tree
Hide file tree
Showing 60 changed files with 13,934 additions and 1,929 deletions.
25 changes: 18 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,27 @@
"env": {
"es6": true,
"browser": true,
"node": true
"node": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]

"rules": {
"import/prefer-default-export": 0,
"no-restricted-syntax": "off",
"no-param-reassign": [2, { "props": false }],
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"no-use-before-define": "off",
"no-plusplus": "off",
"import/no-cycle": "off",
"no-underscore-dangle": 0
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ dist-ssr
# Yarn
.yarn
.pnp.*
src/score/user-score.html
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
npm run pre-commit
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2,
"semi": true
"semi": true,
"endOfLine": "auto"
}
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,14 @@ Node.js >=16 (https://nodejs.org/en/)
By default server should be running here: localhost:3000

To stop local press `Ctrl+C`

**Credits**

Graphics Designed by:
* karacis studio from <a href="https://lovepik.com/image-450013302/cute-koala-cartoon-vector.html">LovePik.com</a>
* Damian Orellana from <a href="https://dribbble.com/damianthebear">dribbble.com/damianthebear</a>

Photos by:
* <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>
* <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>
* <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>
12 changes: 12 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
],
};
17 changes: 17 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Sync object
/** @type {import('@jest/types').Config.InitialOptions} */

const config = {
verbose: true,
collectCoverage: true,
coverageThreshold: {
global: {
branches: 0,
functions: 0,
lines: 0,
statements: 0,
},
},
};

module.exports = config;
Loading

0 comments on commit e7f58d6

Please sign in to comment.