Guest User

Untitled

a guest
Jan 16th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. {
  2. "env": {
  3. "browser": true,
  4. "es6": true,
  5. "node": true
  6. },
  7. "extends": ["eslint:recommended", "plugin:react/recommended"],
  8. "parserOptions": {
  9. "ecmaFeatures": {
  10. "experimentalObjectRestSpread": true,
  11. "jsx": true
  12. },
  13. "sourceType": "module"
  14. },
  15. "rules": {
  16. "indent": [0, 2],
  17. "linebreak-style": ["error", "unix"],
  18. "quotes": [0, "single"],
  19. "semi": ["error", "never"],
  20. "brace-style": [2, "1tbs", {
  21. "allowSingleLine": true
  22. }],
  23. "curly": [2, "all"],
  24. "no-console": ["error", {
  25. "allow": ["warn", "error", "log"]
  26. }],
  27. "no-unused-vars": 0,
  28. "no-empty": [0, "never"],
  29. "curly": 0,
  30. "comma-dangle": [2, "always-multiline"],
  31. "no-constant-condition": [2, {
  32. "checkLoops": false
  33. }],
  34. "key-spacing": [
  35. 0, {
  36. "multiLine": {
  37. "beforeColon": false,
  38. "afterColon": true
  39. },
  40. "align": {
  41. "beforeColon": false,
  42. "afterColon": false,
  43. "on": "colon"
  44. }
  45. }
  46. ],
  47. "react/jsx-indent": [2, 2],
  48. "react/jsx-tag-spacing": {
  49. "closingSlash": "never"
  50. },
  51. "react/self-closing-comp": ["error", {
  52. "component": true,
  53. "html": true
  54. }]
  55. }
  56. }
Add Comment
Please, Sign In to add comment