Skip to content

Commit

Permalink
chore(deps): update all dependencies (#16)
Browse files Browse the repository at this point in the history
Simply updated all dependencies of the root and the sub packages.
  • Loading branch information
mheob authored Aug 25, 2022
1 parent d5b5ccc commit 7d96f86
Show file tree
Hide file tree
Showing 7 changed files with 336 additions and 346 deletions.
6 changes: 6 additions & 0 deletions .changeset/dull-carpets-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@mheob/eslint-config": patch
"@mheob/prettier-config": patch
---

Update all dependencies
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"package.json": "pnpm dlx sort-package-json"
},
"devDependencies": {
"@changesets/cli": "^2.24.0",
"@changesets/cli": "^2.24.3",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@mheob/eslint-config": "workspace:*",
"@mheob/prettier-config": "workspace:*",
"eslint": "^8.20.0",
"eslint": "^8.22.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"simple-git-hooks": "^2.8.0",
"turbo": "^1.3.4"
"turbo": "^1.4.3"
},
"packageManager": "pnpm@7.9.0",
"engines": {
Expand Down
19 changes: 13 additions & 6 deletions packages/eslint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,32 @@ yarn add -D @mheob/eslint-config
pnpm add -D @mheob/eslint-config
```

### Edit `package.json`
### Include in your project

#### Simple: Edit `package.json`

```jsonc
{
// ...
"prettier": "@mheob/eslint-config"
"eslint": {
"extends": "@mheob/eslint-config"
}
}
```

### Override settings
#### Or with override settings

If you need to override some settings you can do it this way:

```js
// .eslintrc.cjs
module.exports = {
...require('@mheob/eslint-config'),
'prettier/prettier': 'error',
'no-console': ['error'],
root: true,
extends: ['@mheob/eslint-config'],
rules: {
'prettier/prettier': 'off',
'no-console': 'warn',
},
};
```

Expand Down
10 changes: 5 additions & 5 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
"lint": "TIMING=1 eslint src/**/*.ts* --fix"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"eslint-config-next": "^12.2.3",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"eslint-config-next": "^12.2.5",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react": "^7.31.0",
"eslint-plugin-unicorn": "^43.0.2"
},
"devDependencies": {
"eslint": "^8.20.0",
"eslint": "^8.22.0",
"prettier": "^2.7.1",
"typescript": "^4.7.4"
},
Expand Down
6 changes: 4 additions & 2 deletions packages/prettier-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ yarn add -D @mheob/prettier-config
pnpm add -D @mheob/prettier-config
```

### Edit `package.json`
### Include in your project

#### Simple: Edit `package.json`

```jsonc
{
Expand All @@ -26,7 +28,7 @@ pnpm add -D @mheob/prettier-config
}
```

### Override settings
#### Or with override settings

If you need to override some settings you can do it this way:

Expand Down
4 changes: 2 additions & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
},
"dependencies": {
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"prettier-plugin-jsdoc": "^0.3.38"
"prettier-plugin-jsdoc": "^0.4.2"
},
"devDependencies": {
"@mheob/eslint-config": "workspace:*",
"eslint": "^8.20.0",
"eslint": "^8.22.0",
"prettier": "^2.7.1"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit 7d96f86

Please sign in to comment.