Skip to content

Commit

Permalink
Add @stylistic/js/multiline-comment-style rule (#1)
Browse files Browse the repository at this point in the history
Multiline comments (except jsDoc) should now be sequences of single-line comments.
  • Loading branch information
firefoxic committed May 26, 2024
1 parent 45c8900 commit 8d5a448
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and 

## [Unreleased]

### Changed

- Multiline comments (except jsDoc) should now be sequences of single-line comments.

## [1.0.0] — 2024–05–06

### Added
Expand Down
4 changes: 4 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ export default [
`error`,
{ code: Infinity },
],
"@stylistic/js/multiline-comment-style": [
`error`,
`separate-lines`,
],
"@stylistic/js/multiline-ternary": [
`error`,
`always-multiline`,
Expand Down

0 comments on commit 8d5a448

Please sign in to comment.