Skip to content

Instantly share code, notes, and snippets.

@JanBe
Last active June 30, 2017 11: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 JanBe/5b0e2cbf983f164b0b75093397ea8ed2 to your computer and use it in GitHub Desktop.
Save JanBe/5b0e2cbf983f164b0b75093397ea8ed2 to your computer and use it in GitHub Desktop.
Compeon ESLint rules
// This is not a complete .eslintrc file, only our selection of rules
"rules": {
"semi" : 0,
"key-spacing" : 0,
"jsx-quotes" : [2, "prefer-single"],
"max-len" : [2, 120, 2],
"object-curly-spacing" : [2, "always"],
"no-tabs" : 1,
"react/prop-types" : 1,
"react/display-name" : 1,
"react/prefer-stateless-function" : 1,
"react/self-closing-comp" : 1,
"react/sort-comp" : 1,
"react/jsx-no-bind" : [1, { "allowArrowFunctions": true }],
"react/jsx-pascal-case" : 1,
"react/jsx-wrap-multilines" : 1,
"react/jsx-closing-bracket-location": 1,
"react/no-unused-prop-types" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment