google / google/closure-compiler

enable banning ES5 features (encourage "let" over "var", etc) using the conformance framework

Open
#1,392 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

The conformance framework currently runs after type checking, and type checking currently requires rewriting to ES5 and makes it impossible to use the conformance framework to encourage ES6 features.

One option requires waiting until the type checkers support ES6 natively

Another option would be to add a option to run some conformance before type checking (and before ES6 translation specifically).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.