Last active
June 30, 2017 11:24
-
-
Save JanBe/5b0e2cbf983f164b0b75093397ea8ed2 to your computer and use it in GitHub Desktop.
Compeon ESLint rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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