Skip to content

Commit

Permalink
linting and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydaly committed Apr 6, 2022
1 parent 89b1e7f commit 533ada8
Show file tree
Hide file tree
Showing 5 changed files with 1,075 additions and 1,652 deletions.
30 changes: 7 additions & 23 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,18 @@
{
"env": {
"es6": true,
"node": true
"node": true,
"jest": true
},
"extends": "eslint:recommended",
"extends": ["eslint:recommended", "prettier"],
"parserOptions": {
"ecmaVersion": 8,
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
],
"indent": [
"error",
2,
{
"SwitchCase": 1,
"flatTernaryExpressions": true
}
]
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"semi": ["error", "never"]
},
"globals": {
"expect": true,
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "none",
"semi": false,
"singleQuote": true,
"printWidth": 120
}
Loading

0 comments on commit 533ada8

Please sign in to comment.