Skip to content

Commit

Permalink
set up linter; cleaner code
Browse files Browse the repository at this point in the history
  • Loading branch information
vahnag committed Oct 18, 2016
1 parent cc88df2 commit cf5bdf0
Show file tree
Hide file tree
Showing 7 changed files with 473 additions and 389 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"class-methods-use-this": [0],
},
};
Loading

0 comments on commit cf5bdf0

Please sign in to comment.