JS_Fun_Practice icon indicating copy to clipboard operation
JS_Fun_Practice copied to clipboard

[ADD] Bltzz solution incl. Unit tests and style checks

Open Bltzz opened this issue 1 year ago • 1 comments

  • [ADD] all functionality
  • [ADD] Unit tests for all functions + enhance Unit tests with many negative scenarios
  • [ADD] code style checking with lint: npm run lint [-- --fix]

To include lint, just do npm install and add this to the package.json:

// ...
 "scripts": {
    "lint": "eslint **/Bltzz_*.js",
    "test": "mocha || true"
  },
// ...
"devDependencies": {
    // ...
    "eslint": "^8.56.0",
    "eslint-config-airbnb-base": "^11.2.0",
    "eslint-plugin-import": "^2.8.0",
// ...

Warning:

There are some node warnings when executing npm install. They can be fixed with npm audit fix, but should be updated, anyway.

I saw it for this dependency:

get-func-name-2.0.0

Secure Version:

get-func-name-2.0.2

Bltzz avatar Feb 25 '24 19:02 Bltzz

🙏 Thanks for your pull request @Bltzz, The team will now review and merge this request. In the mean time why not check out some of the other opensource projects available, contributions are greatly appreciated!

Some of the most popular are


PR Statistics

#️⃣ PR Number: Line Additions: 🗑️ Line Deletions:
250 2446 0
📑 Files Changed: Repo Stars: 🔱 Total Forks:
3 690 557