Daniel Tschinder
9eb010da50
Unify reserved word checking and update error messages ( #9402 )
...
* Unify reserved word checking and update error messages
* Fix test
2019-01-31 19:02:32 -08:00
Daniel Tschinder
178f2d7949
Make let a contextual keyword
2019-01-22 13:12:02 -08:00
Brian Ng
f77c450cda
Bump prettier ( #9373 )
2019-01-22 09:16:32 -06:00
Nicolò Ribaudo
9764718c32
Disallow trailing comma after rest ( #9311 )
...
* Add new tests
* Use state instead of param and disallow comma in [...a,]=[]
* Unify error messages
* Object destructuring
* Update whitelist
2019-01-11 13:08:38 +01:00
Daniel Tschinder
3932830535
Parse non-octals with leading zeros in non strict mode correctly ( #9114 )
...
* Parse non-octals with leading zeros in non strict mode correctly
* Better error message
2018-12-03 00:04:37 -08:00
Daniel Tschinder
07eaa3c63f
Ignore empty fixture directories and fix fixtures in the parser ( #9113 )
...
* Ignore fixture directories that do not contain input or exec
* Fix parser test fixtures structures for some imported esprima tests.
* Warn on test folders that are not empty and do not contain testfiles
2018-12-02 22:55:06 -08:00
Grigory Moroz
445b14148e
Better error for disallowed trailing commas/parameters after rest elements ( #9046 )
...
* handle disordered rest parameter in function expressions
* remove spaces [lint]
* polish function parameters validation
* add test with arrow function and comma after rest parameter [babel-parser]
2018-11-21 07:49:36 +01:00
Brian Ng
38cf318f61
Bump lint-related deps ( #8765 )
2018-09-24 18:09:54 -05:00
Logan Smyth
79b2af5997
Format fixture JSON with Prettier. ( #8658 )
2018-09-09 17:57:52 -07:00
Chaitanya Kumar Kamatham
daf0ca8680
Rename "babylon" to "@babel/parser" ( #7937 ) 🎉
2018-05-19 00:03:05 -04:00