Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Install eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
arkanoryn committed Aug 5, 2017
1 parent c12fd2a commit 541df0b
Show file tree
Hide file tree
Showing 4 changed files with 1,898 additions and 15 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
"extends": ["airbnb", "plugin:flowtype/recommended"],
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"react/jsx-filename-extension": 0,
"camelcase": 0,
"arrow-parens": [2, "always"],
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }]
},
"globals": {
"fetch": true,
"window": true,
"document": true,
"localStorage": true
}
};
Loading

0 comments on commit 541df0b

Please sign in to comment.