Chiawen Chen
3396fdd7f7
Breaking: make AST match Espree 6 ( babel/babel-eslint#785 )
2019-11-02 07:08:32 +08:00
Yosuke Ota
3fcfc90a12
Fix to convert hash token. ( babel/babel-eslint#753 )
2019-02-15 07:56:30 +09:00
Kai Cataldo
bbce2b3807
Remove comment attachment ( babel/babel-eslint#736 )
...
* Remove comment attachment
* Simplify error messaging in tests
2019-01-11 12:23:34 -05:00
Kai Cataldo
47de99e1b8
Use @babel/core#parse ( babel/babel-eslint#711 )
2019-01-10 15:25:00 -05:00
Kai Cataldo
22a1681e11
Merge pull request babel/babel-eslint#706 from kaicataldo/es6
...
Update ESLint config
2018-10-30 14:48:37 -05:00
Henry Zhu
e56b342e59
Revert babel/babel-eslint#584 ( babel/babel-eslint#697 )
...
* Revert "Treat type alias declarationlike function declaration (babel/babel-eslint#584 )"
This reverts commit 020d012c554913fea137f4129798ce31a4896dfe.
2018-09-27 10:29:29 -04:00
Joa Ebert
22fa8e6f20
Treat type alias declarationlike function declaration ( babel/babel-eslint#584 )
...
A type alias shouldn't trigger a no-use-before-define warning just
like a function declaration.
Cyclic type dependencies are common when using flow.
For instance: type Node<T> = { head: T; tail: Node<T> }
Fixes babel/babel-eslint#485
2018-09-25 20:39:43 +02:00
Brian Ng
077bea0a45
Fix converting template types to handle nested templates ( babel/babel-eslint#610 )
...
Fixes https://github.com/babel/babel-eslint/issues/603 (and the fixture from https://github.com/babel/babel-eslint/issues/609 works).
Reworks our code that converts the format of Babylon template tokens to be a bit more robust, especially with things like nested templates with arrows.
(Adapted the logic from https://github.com/eslint/espree/blob/master/lib/token-translator.js )
2018-06-18 16:46:31 -05:00
Rubén Norte
99968db2b1
Fix token types for experimental operators ( babel/babel-eslint#632 )
...
* Added failing tests
* Recognized nullish coalescing, optional chaining and pipeline operators as Punctuator tokens
2018-06-15 15:42:05 +01:00
Toru Nagashima
fbb7ff6e44
Fix: wrong token type of ! and ~ ( fixes babel/babel-eslint#576 ) ( babel/babel-eslint#577 )
2018-01-17 15:10:55 +09:00
Toru Nagashima
5d6d52f04e
Use new scopeManager/visitorKeys APIs ( babel/babel-eslint#542 )
...
(fixes https://github.com/eslint/eslint/issues/9762 )
2017-12-24 15:42:17 +09:00