react-stonecutter
Version:
Animated grid layout component for React
73 lines (72 loc) • 2.25 kB
JSON
{
"rules": {
"strict": 0,
"indent": [2, 2, { "VariableDeclarator": 2, "SwitchCase": 1 }],
"linebreak-style": [2, "unix"],
"no-multi-spaces": [2, { "exceptions": { "VariableDeclarator": true } }],
"no-console": 0,
"func-names": 0,
"vars-on-top": 0,
"one-var": 0,
"one-var-declaration-per-line": [2, "initializations"],
"space-before-function-paren": [2, "never"],
"no-use-before-define": [2, "nofunc"],
"comma-dangle": [2, "never"],
"padded-blocks": 0,
"max-len": [1, 100, 2, { "ignoreComments": true, "ignoreUrls": true }],
"quote-props": [1, "consistent-as-needed"],
"radix": 0,
"no-unused-vars": [1, { "vars": "local", "args": "after-used" }],
"no-param-reassign": 0,
"consistent-return": 0,
"react/prefer-es6-class": 0,
"react/prop-types": 0,
"react/jsx-no-bind": 0,
"react/sort-comp": [2, {
"order": [
"lifecycle",
"everything-else",
"render"
],
"groups": {
"lifecycle": [
"displayName",
"propTypes",
"contextTypes",
"childContextTypes",
"mixins",
"statics",
"defaultProps",
"constructor",
"getDefaultProps",
"getInitialState",
"getChildContext",
"componentWillMount",
"componentDidMount",
"componentWillReceiveProps",
"shouldComponentUpdate",
"componentWillUpdate",
"componentDidUpdate",
"componentWillUnmount"
]
}
}]
},
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": "airbnb",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"plugins": [
"react"
]
}