Skip to content

Instantly share code, notes, and snippets.

@SOSANA
Last active March 22, 2017 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SOSANA/80f19141dfcc707a826a7e4e4b2a936d to your computer and use it in GitHub Desktop.
Save SOSANA/80f19141dfcc707a826a7e4e4b2a936d to your computer and use it in GitHub Desktop.
Eslint config file with airbnb/base and over ride rules config
{
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true,
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"rules": {
"arrow-body-style": 0,
"comma-dangle": 0,
"func-names": 0,
"max-len": [1, 180, 4],
"one-var-declaration-per-line": 0,
"one-var": 0,
"one-let": 0,
"one-const": 0,
"no-underscore-dangle": 0,
"no-unused-vars": 0,
"prefer-arrow-callback": 0,
"space-before-function-paren": 0,
"react/jsx-filename-extension": 0,
"import/no-extraneous-dependencies": 0,
"global-require": 0
},
"plugins": [
"react"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment