Skip to content

Commit

Permalink
fix(lint): added eslint files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Peshkov committed Jan 30, 2020
1 parent eed7d16 commit 6173a0c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.nyc_output/
node_modules/
coverage
26 changes: 26 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"root": true,
"env": {
"node": true,
"jest": true
},
"extends": "airbnb",
"rules": {
"no-underscore-dangle": "off",
"no-param-reassign": ["error", { "props": false }],
"no-restricted-syntax": "off",
"no-plusplus": "off",
"comma-dangle": "off",
"max-len": "off",
"prefer-template": "off",
"guard-for-in": "off",
"indent": ["error", 4],
"prefer-destructuring": "off",
"arrow-body-style": "off",
"object-curly-newline": "off",
"no-await-in-loop": "off",
"no-continue": "off",
"consistent-return": "off",
"implicit-arrow-linebreak": "off"
}
}

0 comments on commit 6173a0c

Please sign in to comment.