Skip to content

Commit

Permalink
Add prettier to fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes committed Nov 13, 2023
1 parent dc1aed6 commit 4093d68
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@ module.exports = {
},
root: true,
};

1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ function formatResults(results, resultsMeta) {
formatResults.shouldLogTaskComplete = shouldLogTaskComplete;

module.exports = formatResults;

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"test": "ava",
"lint": "eslint .",
"fix": "eslint . --fix"
"fix": "prettier ./ --write && eslint . --fix"
},
"files": [
"index.js"
Expand Down
1 change: 0 additions & 1 deletion prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-env node*/


module.exports = {
printWidth: 80,
useTabs: true,
Expand Down
1 change: 0 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,3 @@ test('Logs task complete with configuration', (t) => {
formatter.shouldLogTaskComplete = shouldLogTaskComplete;
}
});

0 comments on commit 4093d68

Please sign in to comment.