Last active
January 20, 2019 00:01
-
-
Save MostlyFocusedMike/a498952c5e46d160b1ce72195e88a356 to your computer and use it in GitHub Desktop.
Just my goto for eslint configs
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
module.exports = { | |
"extends": "airbnb-base", | |
env: { | |
browser: true, | |
node: true, | |
es6: true, | |
jquery: true, | |
}, | |
rules: { | |
"indent": ["error", 4], | |
"no-underscore-dangle": "off", | |
"no-unused-vars": ["warn", { "vars": "local" }], | |
"no-plusplus": 0, | |
"max-len": ["warn", 180], | |
"one-var": 0, | |
"no-console": "off", | |
"arrow-body-style": "off", | |
"global-require": "off", | |
}, | |
parser: "babel-eslint", // this lets us use ES6+ things in react like `= () => {}` | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment