Skip to content

Commit

Permalink
Merge pull request #67 from eslint/classes
Browse files Browse the repository at this point in the history
New: Support ES6 classes (refs #10)
  • Loading branch information
nzakas committed Mar 1, 2015
2 parents 92ee153 + 0ca32d6 commit d37f447
Show file tree
Hide file tree
Showing 61 changed files with 5,018 additions and 361 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@ var ast = espree.parse(code, {
// enable parsing of generators/yield
generators: true,

// support the spread operator
// enable parsing spread operator
spread: true,

// enable parsing classes
classes: true,

// enable React JSX parsing
jsx: true,

Expand Down
Loading

0 comments on commit d37f447

Please sign in to comment.