Guest User

Untitled

a guest
Nov 19th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. # Install Command
  2.  
  3. yarn add --dev eslint babel-eslint eslint-config-standard eslint-config-react eslint-config-standard-react eslint-plugin-babel eslint-plugin-flowtype eslint-plugin-import eslint-plugin-node eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-standard
  4.  
  5. # ESlint Config
  6. In .eslintrc.json:
  7.  
  8. {
  9. "parser": "babel-eslint",
  10. "extends": [
  11. "plugin:flowtype/recommended",
  12. "standard",
  13. "standard-react"
  14. ],
  15. "plugins": ["babel", "flowtype"],
  16. "rules": {
  17. "indent": 0,
  18. "standard/computed-property-even-spacing": 0,
  19. "quotes": 0
  20. }
  21. }
Add Comment
Please, Sign In to add comment