Skip to content

Commit

Permalink
fix(eslint): Add eslint plugin for Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
peggyrayzis committed Jan 9, 2017
1 parent 2c18dc5 commit 19d0efa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"parser": "babel-eslint",
"plugins": [
"flowtype"
],
"extends": "airbnb",
"env": {
"browser": true,
Expand All @@ -19,6 +22,7 @@
"jsx-a11y/no-static-element-interactions": [0],
"react/require-extension": "off",
"comma-dangle": [0],
"flowtype/define-flow-type": 2,
"no-unused-expressions": [0, { allowTernary: true }],
"react/jsx-filename-extension": "off",
"import/extensions": [0, { "js": "never", "jsx": "never"}],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
"esdoc": "^0.5.1",
"eslint": "3.12.1",
"eslint-config-airbnb": "13.0.0",
"eslint-plugin-flowtype": "^2.29.2",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jsx-a11y": "2.2.3",
"eslint-plugin-react": "6.7.1",
Expand Down

0 comments on commit 19d0efa

Please sign in to comment.