Skip to content

Commit

Permalink
question: maxProduct
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelriosoliveira committed May 13, 2024
1 parent 29e45ff commit b108c58
Show file tree
Hide file tree
Showing 12 changed files with 2,496 additions and 2,988 deletions.
21 changes: 0 additions & 21 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ I started this in the [issue #176](https://buttondown.email/cassidoo/archive/we-
- [340 - wordLengthProduct](src/2024/340-wordLengthProduct)
- [341 - removeDigit](src/2024/341-removeDigit)
- [343 - maxGap](src/2024/343-maxGap)
- [352 - maxProduct](src/2024/352-maxProduct)
</details>

## Installing & Running
Expand Down
16 changes: 16 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import tsEslint from 'typescript-eslint';

export default [
pluginJs.configs.recommended,
...tsEslint.configs.recommended,
{
languageOptions: {
globals: globals.node,
},
rules: {
'@typescript-eslint/no-unused-vars': 'off',
},
},
];
24 changes: 9 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"prepare": "husky",
"lint": "eslint --fix src/ --ext .ts",
"lint": "eslint --fix",
"test": "vitest",
"test:cov": "vitest run --coverage",
"test:mutation": "dotenv stryker run",
Expand All @@ -14,23 +14,17 @@
"dotenv-cli": "^7.4.1"
},
"devDependencies": {
"@eslint/js": "^9.2.0",
"@stryker-mutator/core": "^8.2.6",
"@stryker-mutator/typescript-checker": "^8.2.6",
"@stryker-mutator/vitest-runner": "^8.2.6",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.57.0",
"eslint-config-love": "^43.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"@types/node": "^20.12.8",
"@vitest/coverage-v8": "^1.5.3",
"eslint": "^9.2.0",
"globals": "^15.2.0",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"typescript": "^5.4.3",
"vitest": "^1.4.0"
"typescript": "^5.4.5",
"typescript-eslint": "^7.9.0",
"vitest": "^1.5.3"
}
}

0 comments on commit b108c58

Please sign in to comment.