Skip to content

lint: set sourceType to 'script'#1141

Merged
addaleax merged 1 commit intomainfrom
eslint-set-sourcetype
Feb 22, 2022
Merged

lint: set sourceType to 'script'#1141
addaleax merged 1 commit intomainfrom
eslint-set-sourcetype

Conversation

@addaleax
Copy link
Member

This allows parsing return; outside of functions.

This allows parsing `return;` outside of functions.
Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@addaleax addaleax merged commit 5e2c1f2 into main Feb 22, 2022
@addaleax addaleax deleted the eslint-set-sourcetype branch February 22, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants