Skip to content

Commit

Permalink
disable one jsx statement per line(for now). See: jsx-eslint/eslint-p…
Browse files Browse the repository at this point in the history
…lugin-react#1848 for reference
  • Loading branch information
Randyjp committed Jul 19, 2018
1 parent 8398b0d commit 3e7fb11
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": ["react", "react-native"],
"env": {
"react-native/react-native": true
},
"rules": {
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
"global-require": "off"
"react/jsx-filename-extension": [
"error",
{ "extensions": [".js", ".jsx"] }
],
"global-require": "off",
"react/jsx-one-expression-per-line": 0
}
}

0 comments on commit 3e7fb11

Please sign in to comment.