Created
October 5, 2017 02:31
-
-
Save reblws/8981ff2536a87097cc3c6d393ab13f15 to your computer and use it in GitHub Desktop.
eslint the way i like it (browsers + react)
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
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true | |
}, | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
"sourceType": "module" | |
}, | |
"extends": "airbnb", | |
"rules": { | |
"global-require": 0, | |
"react/jsx-filename-extension": 0, | |
"arrow-parens": 0, | |
"no-use-before-define": 0, | |
"comma-dangle": ["error", { | |
"functions": "ignore", | |
"objects": "always-multiline", | |
"exports": "always-multiline", | |
"imports": "always-multiline", | |
"arrays": "always-multiline" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment