{ "parser": "babel-eslint", "extends": "eslint-config-airbnb", "env": { "browser": true, "mocha": true, "node": true }, "rules": { "comma-dangle": 0, "jsx-quotes": [1, "prefer-single"], // "react/jsx-uses-react": 2, // "react/jsx-uses-vars": 2, // "react/react-in-jsx-scope": 2, // "no-console": 1, // "no-dupe-keys": 0, "no-param-reassign": 0, // Disables warning for default arguments (to be removed) "space-infix-ops": 0, "react/sort-comp": [ 1, { "order": [ "static-methods", "constructor", "lifecycle", "everything-else", "render", "/^handle.+$/" ], "groups": { "lifecycle": [ "childContextTypes", "getInitialState", "state", "getChildContext", "componentWillMount", "componentDidMount", "componentWillReceiveProps", "shouldComponentUpdate", "componentWillUpdate", "componentDidUpdate", "componentWillUnmount" ] } } ] }, "plugins": [ "react", "babel" ] }