Commit 56e5f89
committed
Default to using babel for parsing
The version of esprima/espree that eslint defaults to using for parsing
still doesn't work super well for ES6. (Details at
http://eslint.org/blog/2014/12/espree-esprima/).
This changes options to default to using babel for parsing. Also
updating the babel related packages here as well.
If any project does not want babel, it can still be overridden in
`.eslintrc` with a `parser` setting.1 parent 804d90f commit 56e5f89
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments