Skip to content

Commit 962271a

Browse files
Publish Next Version (#170)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 63dcf39 commit 962271a

File tree

4 files changed

+36
-36
lines changed

4 files changed

+36
-36
lines changed

.changeset/late-penguins-leave.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/tricky-pugs-cry.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# @cloudfour/eslint-plugin
22

3+
## 15.0.0
4+
5+
### Major Changes
6+
7+
- [`2d8f332`](https://github.com/cloudfour/eslint-config/commit/2d8f3320896e156e06720774e09fb82275443bdf) [#171](https://github.com/cloudfour/eslint-config/pull/171) Thanks [@calebeby](https://github.com/calebeby)! - Add `@cloudfour/prefer-early-return` rule (enabled by default)
8+
9+
This rule suggests to change code like this:
10+
11+
```js
12+
function a() {
13+
if (_) {
14+
a();
15+
b();
16+
c();
17+
}
18+
}
19+
```
20+
21+
into:
22+
23+
```js
24+
function a() {
25+
if (!_) return;
26+
a();
27+
b();
28+
c();
29+
}
30+
```
31+
32+
### Minor Changes
33+
34+
- [`f4e2715`](https://github.com/cloudfour/eslint-config/commit/f4e2715df26dfc5cb57b14cf32263b78bd65e9ea) [#164](https://github.com/cloudfour/eslint-config/pull/164) Thanks [@renovate](https://github.com/apps/renovate)! - Update [`eslint-plugin-unicorn` to v22](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/v22.0.0)
35+
36+
The new [`unicorn/import-style`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v22.0.0/docs/rules/import-style.md) rule is disabled by default, so this is not a breaking change.
37+
338
## 14.0.0
439

540
### Major Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudfour/eslint-plugin",
3-
"version": "14.0.0",
3+
"version": "15.0.0",
44
"description": "Cloud Four's shareable ESLint configuration",
55
"author": "Cloud Four <[email protected]> (http://cloudfour.com)",
66
"homepage": "https://github.com/cloudfour/eslint-config",

0 commit comments

Comments
 (0)