Skip to content

Commit d69470f

Browse files
Version Packages (#462)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b1b449c commit d69470f

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.changeset/spicy-toes-punch.md

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

packages/eslint-plugin/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 47.0.1
4+
5+
### Patch Changes
6+
7+
- [#461](https://github.com/Shopify/web-configs/pull/461) [`b1b449c`](https://github.com/Shopify/web-configs/commit/b1b449c86acf8cd3578d47f5ff76b94ae4b20aaf) Thanks [@BPScott](https://github.com/BPScott)! - Add `@typescript-eslint/no-unused-expressions` to typescript ruleset
8+
9+
In v46 in, we enabled `no-unused-expressions` in the core js config, then disabled it and replaced it with `@babel/no-unused-expressions` in esnext config. In typescript files we turn off `no-unused-expressions` but left `@babel/no-unused-expressions` enabled - which seems like an oversight given that `@typescript-eslint/no-unused-expressions` existed. In v47.0.0 we removed configuration of `@babel/no-unused-expressions` entirely, which meant that there was no linting of unused-expressions. This change brings back unused expression linting to typescript files.
10+
311
## 47.0.0
412

513
### Major Changes

packages/eslint-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/eslint-plugin",
3-
"version": "47.0.0",
3+
"version": "47.0.1",
44
"license": "MIT",
55
"description": "Shopify's ESLint rules and configs.",
66
"keywords": [

0 commit comments

Comments
 (0)