Skip to content

Instantly share code, notes, and snippets.

@mjackson
Last active January 12, 2018 22:28
Show Gist options
  • Save mjackson/71421cbcfbd1e80fa730 to your computer and use it in GitHub Desktop.
Save mjackson/71421cbcfbd1e80fa730 to your computer and use it in GitHub Desktop.
My personal ESLint config
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"array-bracket-spacing": [2, "always"],
"comma-dangle": 0,
"consistent-return": 1,
"curly": [1, "multi-or-nest", "consistent"],
"eqeqeq": [2, "smart"],
"max-len": 1,
"no-param-reassign": [2, { "props": false }],
"no-shadow": 1,
"prefer-template": 0,
"semi": [2, "never"]
}
}
@tikotzky
Copy link

does this mean you left react/prefer-es6-class as an error? 😧

@mjackson
Copy link
Author

I haven't run into that one, probably because I haven't used this config on any React projects yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment