Skip to content

Commit

Permalink
build: add eslint prettier plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <[email protected]>
  • Loading branch information
setchy committed Oct 2, 2023
1 parent 2e3bc38 commit 5347c44
Show file tree
Hide file tree
Showing 4 changed files with 378 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ module.exports = {
"node": true,
"es2021": true
},
"extends": "eslint:recommended",
"plugins": ["prettier"],
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"prettier/prettier": "error",
}
}
3 changes: 3 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
trailingComma: "none"
}
Loading

0 comments on commit 5347c44

Please sign in to comment.