Skip to content

Commit

Permalink
fix: Add eslint files back and remove jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Dec 7, 2018
1 parent d610db6 commit 8cf126a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage
dist/
test/test.thermometer.js
16 changes: 16 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"extends": "airbnb",
"rules": {
"react/jsx-filename-extension": [1, {
"extensions": [".js", ".jsx"]
}],
"consistent-return": 0,
"import/newline-after-import": false,
"prefer-destructuring": 0,
"global-require": 0,
"no-console": 0
},
"env": {
"jest": true
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ dist/

# Mac DS_Store
.DS_Store
.jshint*
1 change: 0 additions & 1 deletion .jshintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .jshintrc

This file was deleted.

0 comments on commit 8cf126a

Please sign in to comment.