Skip to content

Commit

Permalink
Merge pull request #43 from jhomarolo/main
Browse files Browse the repository at this point in the history
fix: add eslint to code
  • Loading branch information
jhomarolo authored Sep 27, 2021
2 parents 7f1f472 + 1151fa6 commit ba22218
Show file tree
Hide file tree
Showing 5 changed files with 1,192 additions and 738 deletions.
26 changes: 26 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"extends": ["prettier"],
"plugins": ["prettier"],
"env": {
"commonjs": true,
"node": true,
"es6": false
},
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"semi": ["error", "never"],
"func-names": 0,
"no-param-reassign": 0,
"no-multi-str": 0,
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-console": ["error", { "allow": ["tron"] }],
"consistent-return": 0
}
}
Loading

0 comments on commit ba22218

Please sign in to comment.