Skip to content

Instantly share code, notes, and snippets.

@wesruv
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesruv/423507acccbf4f604715 to your computer and use it in GitHub Desktop.
Save wesruv/423507acccbf4f604715 to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"strict": 0
},
"ecmaFeatures": {
"jsx": true
},
"plugins": ["react"],
"rules": {
"quotes": [2, "single"],
"no-underscore-dangle": 0,
"new-cap": [2, {"capIsNew": false}],
"react/display-name": 0,
"react/jsx-boolean-value": 2,
"react/jsx-quotes": [2, {"single": true}],
"react/jsx-no-undef": 2,
"react/jsx-sort-props": 2,
"react/jsx-sort-prop-types": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-multi-comp": 2,
"react/no-unknown-property": 2,
"react/prop-types": 2,
"react/react-in-jsx-scope": 0,
"react/self-closing-comp": 2,
"react/sort-comp": [2, {
"order": [
"lifecycle",
"everything-else",
"render"
],
"groups": {
"lifecycle": [
"displayName",
"propTypes",
"contextTypes",
"childContextTypes",
"mixins",
"statics",
"getDefaultProps",
"getInitialState",
"getInitialStateAsync",
"getChildContext",
"componentWillMount",
"componentDidMount",
"componentWillReceiveProps",
"shouldComponentUpdate",
"componentWillUpdate",
"componentDidUpdate",
"componentWillUnmount"
]
}
}],
"react/wrap-multilines": 2
},
"globals": {
"picturefill": false
}
}
test/jstransform/js/react/mixin/update-picturefill.jsx
10:43 error prevState is defined but never used no-unused-vars
test/jstransform/js/react/slug-handler.jsx
66:4 error "pictureFill" is not defined no-undef
✖ 2 problems (2 errors, 0 warnings)
Warning: Task "eslint:target" failed. Use --force to continue.
Aborted due to warnings.
Warning: Use --force to continue.
Aborted due to warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment