New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ecmaFeatures on context #1648

Closed
nzakas opened this Issue Jan 11, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@nzakas
Member

nzakas commented Jan 11, 2015

Some rules should only be applied when certain ecmaFeatures are enabled. We should let rules check ecmaFeatures by exposing it on context. The exposed context.ecmaFeatures should be frozen to ensure rules don't accidentally change it.

@nzakas nzakas closed this in 7aa7cd6 Jan 16, 2015

nzakas added a commit that referenced this issue Jan 16, 2015

Merge pull request #1656 from eslint/issue1648
Update: Expose ecmaFeatures on context (fixes #1648)

Holixus pushed a commit to Holixus/eslint that referenced this issue Feb 12, 2015

@eslint eslint bot locked and limited conversation to collaborators Feb 7, 2018

@eslint eslint bot added the archived due to age label Feb 7, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.