| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3218dfb commit 452928e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,6 +86,12 @@ rules: | |||
| 86 | 86 | # list: http://eslint.org/docs/rules/#ecmascript-6 | |
| 87 | 87 | ## Suggest using 'const' wherever possible | |
| 88 | 88 | prefer-const: 2 | |
| 89 | + ## Enforce parens around arrow function arguments | ||
| 90 | + arrow-parens: [2, "always"] | ||
| 91 | + ## Require a space on each side of arrow operator | ||
| 92 | + arrow-spacing: [2, {"before": true, "after": true}] | ||
| 93 | + ## Prevent using => in a condition where <= is intended | ||
| 94 | + no-arrow-condition: 2 | ||
| 89 | 95 | ||
| 90 | 96 | # Strict Mode | |
| 91 | 97 | # list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode | |
| Back | FazBrowse Home | New Git URL |
0 commit comments