Skip to content

Commit

Permalink
[bugfix] fix parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Mollweide committed Apr 6, 2017
1 parent ee1e34e commit 6a8ddde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions test/es5/rules/errors/no-unexpected-multiline.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
/* eslint quotes: 0*/
// <!START
// Bad
let x = function () {}
let a = function () {}
`hello`

// Good
let x = function () {};
let b = function () {};
`hello`
// END!>

4 changes: 2 additions & 2 deletions test/es6-react/rules/react/jsx-no-literals.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
/* eslint no-unused-expressions: 0*/
// <!START
// Bad
const Hello = <div>test</div>;
const A = <div>test</div>;

// Good
const Hello = <div>{test}</div>;
const B = <div>{test}</div>;
// END!>
4 changes: 2 additions & 2 deletions test/es6/rules/es6/arrow-body-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
/* eslint no-redeclare: 0*/
// <!START
// Good
const foo = () => 0;
const a = () => 0;

// Bad
const foo = () => {
const b = () => {
return 0;
};
// END!>

0 comments on commit 6a8ddde

Please sign in to comment.