Skip to content

Instantly share code, notes, and snippets.

@aderaaij
Created October 6, 2017 15:00
Show Gist options
  • Save aderaaij/8a71f3a137f5aa8fb86285ab1bc57495 to your computer and use it in GitHub Desktop.
Save aderaaij/8a71f3a137f5aa8fb86285ab1bc57495 to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"env": {
"node": true,
"browser": true,
"es6": true
},
"extends": "airbnb-base",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-use-before-define": [
1,
{
"functions": false,
"classes": false
}
],
"func-names": 0,
"no-unused-vars": 1,
"no-underscore-dangle": 0,
"no-console": 0,
"default-case": 0,
"no-new": 0,
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"no-plusplus": [
"warn"
],
"import/no-unresolved": [
"warn"
],
"import/extensions": [
"warn"
],
"import/no-extraneous-dependencies": [
"warn"
],
"max-len": [
"warn"
],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment