Skip to content

Commit

Permalink
Strip/update dependencies
Browse files Browse the repository at this point in the history
Unused/missing dependencies identified via:

```
npm install -g depcheck && depcheck
```

Updated remaining dependencies via:

```
npm install -g npm-check-updates && npm-check-updates -u
```

Applied changes via:
```
rm -rf node_modules
npm install
npm run format
npm run build
```

The prettier config was loaded in eslint, but no rule applied. depcheck thus reported eslint-plugin-prettier as unused. By not loading the prettier eslint config also eslint-config-prettier could be removed.

Less dependencies = lees breakages / vulnerabilities / updates.
  • Loading branch information
dbast committed Nov 23, 2023
1 parent 43c1f46 commit 07d4f2e
Show file tree
Hide file tree
Showing 3 changed files with 1,436 additions and 10,715 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ module.exports = {
},
root: true,
extends: [
"eslint:recommended",
"prettier"
"eslint:recommended"
],
parser: "@typescript-eslint/parser",
parserOptions: {
Expand Down
Loading

0 comments on commit 07d4f2e

Please sign in to comment.