break things

This commit is contained in:
Kent C. Dodds
2018-09-14 20:04:48 -06:00
parent c8bc20bf21
commit bdde2e618f
3 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
{
"linters": {
"*.js": [
"eslint",
"prettier --write",
"git add"
]
}
}

View File

@@ -4,7 +4,9 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "lint": "eslint src",
"flow": "flow",
"precommit": "lint-staged"
}, },
"keywords": [], "keywords": [],
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)", "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",

View File

@@ -6,7 +6,6 @@ if (!'serviceWorker' in navigator) {
} }
const greeting = 'hello' const greeting = 'hello'
console console.log('${greting} world!')
.log('${greting} world!')
[(1, 2, 3)].forEach(x => console.log(x)) [(1, 2, 3)].forEach(x => console.log(x))