Last active
February 24, 2016 19:53
-
-
Save alarner/d7888d68e9228326a71b to your computer and use it in GitHub Desktop.
eslint configuration
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
{ | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
}, | |
"rules": { | |
"quotes": [2, "single"], | |
"no-unused-vars": [2, {"vars": "local", "args": "none"}], | |
"eol-last": [0], | |
"space-infix-ops": [0], | |
"no-use-before-define": [2, "nofunc"], | |
"no-underscore-dangle": [0], | |
"handle-callback-err": [0], | |
"no-unused-expressions": [0], | |
"semi": [2, "always"], | |
"strict": [2, "always"], | |
"comma-dangle": [2, "never"], | |
"react/jsx-uses-react": [2], | |
"react/jsx-uses-vars": [2], | |
}, | |
"env": { | |
"browser": true, | |
"node": true | |
}, | |
"plugins": [ | |
"react" | |
], | |
"globals": { | |
"describe" : false, | |
"it" : false, | |
"before" : false, | |
"beforeEach" : false, | |
"after" : false, | |
"afterEach" : false, | |
"expect" : false, | |
"bookshelf" : false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment