Skip to content

Commit

Permalink
chore: setup eslint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkerd committed Jun 5, 2021
1 parent cb4bc8e commit 8c80542
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
Empty file added .eslintignore
Empty file.
14 changes: 14 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": [
"airbnb-base",
"plugin:prettier/recommended",
"plugin:jsdoc/recommended"
],
"plugins": [
"prettier",
"jsdoc"
],
"rules": {
"prettier/prettier": "error"
}
}
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
libcov
coverage
.nyc_output
package.json
package-lock.json
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 80,
"singleQuote": true,
"semi": true,
"trailingComma": "es5"
}

0 comments on commit 8c80542

Please sign in to comment.