Guest User

Untitled

a guest
Jun 24th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. // yarn add eslint babel-eslint eslint-plugin-flowtype flow-bin@^0.67.0 eslint-plugin-react eslint-plugin-react-native eslint-plugin-flowtype
  2.  
  3. {
  4. "env": {
  5. "browser": true,
  6. "react-native/react-native": true
  7. },
  8. "extends": [
  9. "eslint:recommended",
  10. "plugin:react/recommended",
  11. "plugin:react-native/all",
  12. "plugin:flowtype/recommended"
  13. ],
  14. "parserOptions": {
  15. "ecmaFeatures": {
  16. "jsx": true
  17. },
  18. "sourceType": "module",
  19. "ecmaVersion": 2018
  20. },
  21. "plugins": [
  22. "react",
  23. "react-native",
  24. "flowtype"
  25. ],
  26. "rules": {
  27. "indent": [
  28. "error",
  29. "tab"
  30. ],
  31. "linebreak-style": [
  32. "error",
  33. "unix"
  34. ],
  35. "quotes": [
  36. "error",
  37. "single"
  38. ],
  39. "semi": [
  40. "error",
  41. "never"
  42. ],
  43. "react-native/no-unused-styles": 1,
  44. "react-native/split-platform-components": 0,
  45. "react-native/no-inline-styles": 0,
  46. "react-native/no-color-literals": 0
  47. }
  48. }
Add Comment
Please, Sign In to add comment