blob: 9079414f7ff892fc39c5b2fe880b9b7c2cd72e95 [file] [log] [blame]
{
"rules": {
"max-len": [1, 119, 4],
"indent": [2, 4],
"jsx-quotes": [0],
"quotes": [0],
"space-before-function-paren": [2, "never"],
"operator-linebreak": [2, "before", { "overrides": { "?": "after", "&&": "after" } }],
"require-jsdoc": [2, {"require": {
"FunctionDeclaration": true,
"MethodDefinition": false,
"ClassDeclaration": false
}
}],
"no-unused-vars": [2, {
"vars": "local",
"args": "none"
}],
"no-inline-comments": 0,
"comma-dangle": 0,
"vars-on-top": 2,
"react/jsx-indent-props": 0,
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-closing-bracket-location": 0
},
"globals": {
"ReactDOM": true,
"React": true,
"ToolTip": true,
"$": true,
"window": true,
"_": true,
"ReactReorderable": true
},
"env": {
"es6": true,
"jquery": true,
"browser": true,
"node": false
},
"extends": ["xo/browser", "xo-react"],
"ecmaFeatures": {
"jsx": true,
"modules": false,
"forOf": true,
"blockBindings": true,
"arrowFunctions": true,
"classes": true,
"defaultParams": true,
"experimentalObjectRestSpread": true
},
"plugins": [
"react"
]
}