Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
feat(.eslintrc.json): add flow plugin for eslnit
Browse files Browse the repository at this point in the history
add flow plugin for eslnit
  • Loading branch information
Metnew committed Aug 23, 2017
1 parent 7883ac5 commit cf421f4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"extends": [
"plugin:flowtype/recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"standard"
],
"parser": "babel-eslint",
"plugins": ["react", "babel", "jsx-a11y"],
"plugins": ["react", "babel", "jsx-a11y", "flowtype"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
Expand All @@ -27,5 +28,10 @@
"i18n": true,
"Raven": true,
"ga": true
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": false
}
}
}

0 comments on commit cf421f4

Please sign in to comment.