Skip to content

Commit

Permalink
docs: Publish v8.52.0 release highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Oct 20, 2023
1 parent ba2519f commit 3667db0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/content/blog/2023-10-20-eslint-v8.52.0-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,28 @@ layout: post
title: ESLint v8.52.0 released
teaser: "We just pushed ESLint v8.52.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release."
image: release-notes-minor.png
draft: true
authors:
- eslintbot
- mdjermanovic
categories:
- Release Notes
tags:
- Release
---


## Highlights

### Unused `eslint-enable` directives

The CLI option [`--report-unused-disable-directives`](/docs/latest/use/command-line-interface#--report-unused-disable-directives) and the config option [`reportUnusedDisableDirectives:true`](/docs/latest/use/configure/rules#report-unused-eslint-disable-comments) now also report and autofix unused `eslint-enable` directives. An `eslint-enable` directive is considered unused if it doesn't match with any `eslint-disable` directives, meaning that it doesn't re-enable any rules.

```js
/* eslint-disable no-console */

console.log("hello");

/* eslint-enable no-continue -- this directive is unused */
```



Expand Down

0 comments on commit 3667db0

Please sign in to comment.