Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. {
  2. "parser": "babel-eslint",
  3. "env": {
  4. "browser": true,
  5. "commonjs": true,
  6. "node": true,
  7. "es6": true
  8. },
  9. "ecmaFeatures ": {
  10. "arrowFunctions": true,
  11. "blockBindings": true,
  12. "forOf": true,
  13. "classes": true,
  14. "jsx": true,
  15. "templateStrings": true
  16. },
  17. "plugins": [
  18. "react"
  19. ],
  20. "settings": {
  21. "jsx": true
  22. },
  23. "globals": {},
  24. "rules": {
  25. "strict": [1, "global"],
  26. "max-len": [2, 120, 4, {"ignoreUrls": true}],
  27. "comma-dangle": [1, "never"],
  28. "no-console": 1,
  29. "no-constant-condition": 1,
  30. "no-control-regex": 1,
  31. "no-debugger": 1,
  32. "no-dupe-args": 1,
  33. "no-dupe-keys": 1,
  34. "no-duplicate-case": 1,
  35. "no-empty-character-class": 1,
  36. "no-empty": 1,
  37. "no-ex-assign": 1,
  38. "no-extra-boolean-cast": 1,
  39. "no-extra-parens": [1, "functions"],
  40. "no-extra-semi": 1,
  41. "no-func-assign": 1,
  42. "no-inner-declarations": [1, "both"],
  43. "no-invalid-regexp": 1,
  44. "no-irregular-whitespace": 1,
  45. "no-negated-in-lhs": 1,
  46. "no-obj-calls": 1,
  47. "no-regex-spaces": 1,
  48. "no-sparse-arrays": 1,
  49. "no-unreachable": 1,
  50. "use-isnan": 1,
  51. "valid-jsdoc": [1, {
  52. "requireReturn": false,
  53. "requireParamDescription": false,
  54. "requireReturnDescription": false
  55. }],
  56. "valid-typeof": 1,
  57. "no-unexpected-multiline": 1,
  58.  
  59. "accessor-pairs": 1,
  60. "block-scoped-var": 1,
  61. "complexity": 0,
  62. "consistent-return": 1,
  63. "curly": 1,
  64. "default-case": 0,
  65. "camelcase": 1,
  66. "dot-notation": [1, {
  67. "allowPattern": "^[a-z]+(_[a-z]+)+$"
  68. }],
  69. "dot-location": [1, "property"],
  70. "eqeqeq": [1, "smart"],
  71. "guard-for-in": 1,
  72. "no-alert": 1,
  73. "no-caller": 1,
  74. "no-div-regex": 1,
  75. "no-else-return": 1,
  76. "no-empty-label": 1,
  77. "no-eq-null": 1,
  78. "no-eval": 1,
  79. "no-extend-native": 0,
  80. "no-extra-bind": 1,
  81. "no-fallthrough": 0,
  82. "no-floating-decimal": 1,
  83. "no-implicit-coercion": 0,
  84. "no-implied-eval": 1,
  85. "no-invalid-this": 1,
  86. "no-iterator": 1,
  87. "no-labels": 1,
  88. "no-lone-blocks": 1,
  89. "no-loop-func": 1,
  90. "no-multi-spaces": 1,
  91. "no-multi-str": 1,
  92. "no-native-reassign": 1,
  93. "no-new-func": 1,
  94. "no-new-wrappers": 1,
  95. "no-new": 1,
  96. "no-octal-escape": 1,
  97. "no-octal": 1,
  98. "no-param-reassign": 0,
  99. "no-process-env": 1,
  100. "no-proto": 1,
  101. "no-redeclare": 1,
  102. "no-return-assign": 1,
  103. "no-script-url": 1,
  104. "no-self-compare": 1,
  105. "no-sequences": 1,
  106. "no-throw-literal": 1,
  107. "no-unused-expressions": 1,
  108. "no-useless-call": 1,
  109. "no-void": 1,
  110. "no-warning-comments": 1,
  111. "no-with": 1,
  112. "radix": 1,
  113. "vars-on-top": 1,
  114. "wrap-iife": [1, "inside"],
  115. "yoda": [1, "never", {
  116. "exceptRange": false,
  117. "onlyEquality": false
  118. }],
  119.  
  120. "init-declarations": 0,
  121. "no-catch-shadow": 1,
  122. "no-delete-var": 1,
  123. "no-shadow-restricted-names": 1,
  124. "no-shadow": 0,
  125. "no-undef-init": 1,
  126. "no-undef": 1,
  127. "no-undefined": 1,
  128. "no-unused-vars": 1,
  129. "no-use-before-define": [1, "nofunc"],
  130.  
  131. "arrow-parens": [1, "as-needed"],
  132. "arrow-spacing": 1,
  133. "constructor-super": 1,
  134. "generator-star-spacing": 1,
  135. "no-class-assign": 1,
  136. "no-const-assign": 1,
  137. "no-dupe-class-members": 1,
  138. "no-this-before-super": 1,
  139. "no-var": 1,
  140. "object-shorthand": [1, "always"],
  141. "prefer-arrow-callback": 1,
  142. "prefer-const": 0,
  143. "prefer-spread": 1,
  144. "prefer-reflect": [1, {
  145. "exceptions": ["apply", "call"]
  146. }],
  147. "prefer-template": 0,
  148. "require-yield": 1,
  149.  
  150. "react/display-name": [1, {
  151. "acceptTranspilerName": true
  152. }],
  153. "react/jsx-boolean-value": [1, "never"],
  154. "react/jsx-curly-spacing": [1, "never"],
  155. "react/jsx-max-props-per-line": [1, {"maximum": 4}],
  156. "react/jsx-no-duplicate-props": [1, { "ignoreCase": true }],
  157. "react/jsx-no-literals": 0,
  158. "react/jsx-no-undef": 1,
  159. "react/jsx-quotes": [1, "double", "avoid-escape"],
  160. "react/jsx-sort-prop-types": 0,
  161. "react/jsx-sort-props": 0,
  162. "react/jsx-uses-react": 1,
  163. "react/jsx-uses-vars": 1,
  164. "react/no-danger": 1,
  165. "react/no-did-mount-set-state": [1, "allow-in-func"],
  166. "react/no-did-update-set-state": 1,
  167. "react/no-multi-comp": 1,
  168. "react/no-unknown-property": 2,
  169. "react/prop-types": 0,
  170. "react/react-in-jsx-scope": 1,
  171. "react/require-extension": [1, {"extensions": [".js", ".jsx"]}],
  172. "react/self-closing-comp": 1,
  173. "react/sort-comp": [1, {
  174. "order": ["lifecycle", "/^on.+$/", "everything-else", "rendering"],
  175. "groups": {
  176. "rendering": ["/^render.+$/", "render"]
  177. }
  178. }],
  179. "react/wrap-multilines": 1
  180. }
  181. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement