Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

🐛 IIFE semi #4553

@izayl

Description

@izayl

Environment information

CLI:
  Version:                      12.1.3
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  ROME_LOG_DIR:                 unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v18.12.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/8.19.2"

Rome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

Discovering running Rome servers...

What happened?

playground: https://docs.rome.tools/playground/?lineWidth=120&indentStyle=space&semicolons=as-needed&code=KAAoACkAPQA%2BACAAewB9ACkAKAApAA%3D%3D

format add ; before IIFE, but linter not allow

Expected result

when Semicolons sets to AsNeeded, it should allow ; before IIFE

Code of Conduct

  • I agree to follow Rome's Code of Conduct

Metadata

Metadata

Assignees

Labels

A-LinterArea: linterS-Bug: confirmedStatus: report has been confirmed as a valid bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions