Skip to content

Commit

Permalink
ensure all JS (and JSON) files are prettified pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Nov 29, 2018
1 parent 7969028 commit 3548294
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"linters": {
"(bin/*|**/*.js)": [
"prettier-eslint --write",
"git add"
]
"(bin/*|*.{js,json}|**/*.{js,json})": ["prettier-eslint --write", "git add"]
},
"ignore": [
"docs/**/*.js",
"test/**/*.fixture.js"
]
"ignore": ["docs/**/*.js", "test/**/*.fixture.js"]
}

0 comments on commit 3548294

Please sign in to comment.