Skip to content

Instantly share code, notes, and snippets.

@radjivF
Created January 4, 2018 02:56
Show Gist options
  • Save radjivF/02bf6e9ac71d04ab3b1b0b5749b00ddc to your computer and use it in GitHub Desktop.
Save radjivF/02bf6e9ac71d04ab3b1b0b5749b00ddc to your computer and use it in GitHub Desktop.
Personal linter based on airbnb guideline
{
"extends": [
"eslint:recommended", "plugin:react/recommended", "airbnb"
],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"plugins": [
"react"
],
"rules": {
"quotes": [2, "single"],
"no-console": 1,
"no-empty": 1,
"no-extra-semi": 1,
"semi": [1,"never"],
"no-alert": 1,
"no-unused-vars": 0,
"react/display-name": 0,
"react/prop-types": 0,
"react/no-multi-comp": 0,
"comma-dangle": ["error", {
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "ignore"
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment