Skip to content

Instantly share code, notes, and snippets.

@thomassuckow
Created February 12, 2016 05:54
Show Gist options
  • Save thomassuckow/74f7402c3cf4883d3f71 to your computer and use it in GitHub Desktop.
Save thomassuckow/74f7402c3cf4883d3f71 to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"env": {
// I write for browser
"browser": true,
// in CommonJS
"node": true
},
"plugins": [
"react"
],
"rules": {
"comma-dangle": [2, "always-multiline"],
"eol-last": [0],
"eqeqeq": 2,
"key-spacing": 2,
"new-cap": 2,
"no-bitwise": 2,
"no-caller": 2,
"no-mixed-requires": [0],
"no-this-before-super": 2,
"no-trailing-spaces": 1,
"no-undef": 2,
"no-underscore-dangle": [0],
"no-unused-vars": 1,
"no-use-before-define": [2, "nofunc"],
"object-curly-spacing": [2, "always"],
"quote-props": [2, "as-needed"],
"quotes": [1, "single"],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"semi": [1,"always"],
"wrap-iife": [2, "inside"],
},
"ecmaFeatures": {
"jsx": true
},
"disabled":
{
"indent": [1, 2]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment