Skip to content

Commit

Permalink
Add ESLint and Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 15, 2023
1 parent 3c94f2f commit d00c08a
Show file tree
Hide file tree
Showing 4 changed files with 3,298 additions and 21 deletions.
15 changes: 15 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"extends": ["plugin:jsdoc/recommended", "standard", "prettier"],
"plugins": ["jsdoc", "prettier"],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"prettier/prettier": ["error"]
}
}
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none"
}
Loading

0 comments on commit d00c08a

Please sign in to comment.