azavea / azavea/minifier

Allow Chrome-compatible ES6 syntax to pass linter

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Some valid ES6 & Chrome compatible syntax won't make it through the minifier's linter. For projects targeting only the latest version of Chrome, it'd be nice for ES6 syntax to be able to build.

Creating this issue to catalog valid/non-working syntax:

- template strings
- arrow functions
- trailing commas in function arguments lists

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the minifier's linter and how it parses or validates JavaScript syntax. Use the listed template strings, arrow functions, and trailing commas in function argument lists as cases to check. Done means valid ES6 syntax compatible with current Chrome can pass the linter and build.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.