Skip to content

Commit

Permalink
eslint file shoulde be a valid json
Browse files Browse the repository at this point in the history
  • Loading branch information
User committed Jun 16, 2016
1 parent f900c9f commit d9ac160
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@
"object-curly-spacing": [2, "never"],
"space-before-function-paren": [2, "always"],
"comma-dangle": [2, "never"],
'max-len': [1, 115, 2, {
'ignoreUrls': true,
'ignoreComments': false
"max-len": [1, 115, 2, {
"ignoreUrls": true,
"ignoreComments": false
}],
"no-unused-expressions": [2, { allowShortCircuit: true }],
"no-unused-expressions": [2, { "allowShortCircuit": true }],
"no-use-before-define": [2, { "functions": false, "classes": true }],
"no-param-reassign": [2, {"props": false}],
'react/prefer-stateless-function': 0,
"react/prefer-stateless-function": 0,
"consistent-return": 0,
new-cap: [2, {"capIsNewExceptions": ["ObjectId"]}],
"new-cap": [2, {"capIsNewExceptions": ["ObjectId"]}],
"jsx-quotes": 0,
'react/jsx-no-bind': [2, {
'ignoreRefs': true,
'allowArrowFunctions': false,
'allowBind': false,
"react/jsx-no-bind": [2, {
"ignoreRefs": true,
"allowArrowFunctions": false,
"allowBind": false
}],
"react/sort-comp": [2, { // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-comp.md
"order": [
'lifecycle',
'everything-else',
'renderstuff'
"lifecycle",
"everything-else",
"renderstuff"
],
"groups": {
lifecycle: [
"lifecycle": [
"displayName",
"fragments",
"panelSettings",
Expand All @@ -55,7 +55,7 @@
"componentDidUpdate",
"componentWillUnmount"
],
renderstuff: [
"renderstuff": [
"render",
"/^render.+$/"
]
Expand Down

0 comments on commit d9ac160

Please sign in to comment.