config prettier

This commit is contained in:
Kent C. Dodds
2018-09-14 20:29:44 -06:00
parent c077931399
commit 4f2fde56e2
3 changed files with 25 additions and 6 deletions

View File

@@ -1,11 +1,11 @@
const name = "Freddy";
typeof name === "string";
const name = 'Freddy'
typeof name === 'string'
if (!("serviceWorker" in navigator)) {
if (!('serviceWorker' in navigator)) {
// you have an old browser :-(
}
const greeting = "hello";
console.log(`${greeting} world!`);
const greeting = 'hello'
console.log(`${greeting} world!`)
[(1, 2, 3)].forEach(x => console.log(x));
;[(1, 2, 3)].forEach(x => console.log(x))