Skip to content

Commit

Permalink
Version Packages (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored May 26, 2024
1 parent bf954e6 commit d3c3cf6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
18 changes: 0 additions & 18 deletions .changeset/sour-games-try.md

This file was deleted.

19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# eslint-plugin-react-server-components

## 1.2.0

### Minor Changes

- 560c8be: Added `allowedServerHooks` option. Hooks specified here will not throw an error in files that do not have the `'use client'` directive.

Example:

```json
{
"rules": {
"react-server-components/use-client": [
"error",
{ "allowedServerHooks": ["useTranslation"] }
]
}
}
```

## 1.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-react-server-components",
"version": "1.1.2",
"version": "1.2.0",
"description": "Rules for React server components",
"type": "module",
"files": [
Expand Down

0 comments on commit d3c3cf6

Please sign in to comment.