Skip to content

Commit c50fd87

Browse files
vsemozhetbytbevacqua
authored andcommitted
ch01: fix nit in ESLint --fix result example (#51)
This error is mentioned in the screenshot above and is fixed in my local test run.
1 parent f419c03 commit c50fd87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch01.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Let's talk about how you can use Babel as part of your workflow.
8585

8686
Babel can compile modern JavaScript code that relies on ES6 features into ES5. It produces human-readable code, making it more welcoming when we don't have a firm grasp on all of the new features we're using.
8787

88-
The online https://mjavascript.com/out/babel-repl[Babel REPL (Read-Evaluate-Print Loop)] is an excellent way of jumping right into learning ES6, without any of the hassle of installing Node.js and the `babel` CLI, and manually compiling source code.
88+
The online https://mjavascript.com/out/babel-repl[Babel REPL (Read-Evaluate-Print Loop)] is an excellent way of jumping right into learning ES6, without any of the hassle of installing Node.js and the `babel` CLI, and manually compiling source code.
8989

9090
The REPL provides us with a source code input area that gets automatically compiled in real time. We can see the compiled code to the right of our source code.
9191

@@ -311,7 +311,7 @@ When we run `lint-fix` we'll only get a pair of errors: `hello` is never used an
311311
----
312312
var goodbye = 'Goodbye!'
313313
314-
function hello() {
314+
function hello () {
315315
return goodbye
316316
}
317317

0 commit comments

Comments
 (0)