Skip to content

Instantly share code, notes, and snippets.

@ayann
Created June 8, 2018 08:43
Show Gist options
  • Select an option

  • Save ayann/718e11b1e628c3e2daf87b9b2e98427b to your computer and use it in GitHub Desktop.

Select an option

Save ayann/718e11b1e628c3e2daf87b9b2e98427b to your computer and use it in GitHub Desktop.
electronforge-react eslint
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react"
],
"extends": ["eslint-config-airbnb", "eslint:recommended", "plugin:react/recommended"],
"rules": {
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": [2, { "ignore": ["electron"] }],
"linebreak-style": 0,
"react/prefer-stateless-function": 0,
"react/jsx-no-undef": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-undef": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment