Skip to content

Commit

Permalink
Eslint, slight improvements and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
itrambovetskyi committed Jul 24, 2022
1 parent aad6090 commit f0e367a
Show file tree
Hide file tree
Showing 42 changed files with 11,311 additions and 9,444 deletions.
15 changes: 15 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"root": true,
"env": {
"commonjs": true,
"es2021": true,
"mocha": true
},
"extends": ["google", "prettier"],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"no-console": "error"
}
}
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": false
}
Loading

0 comments on commit f0e367a

Please sign in to comment.