Skip to content

Instantly share code, notes, and snippets.

@alexko30
Created June 21, 2018 19:02
Show Gist options
  • Save alexko30/b7b3ea260d0b5cbae9ee64ab5f104880 to your computer and use it in GitHub Desktop.
Save alexko30/b7b3ea260d0b5cbae9ee64ab5f104880 to your computer and use it in GitHub Desktop.
// yarn add --dev eslint prettier eslint-config-airbnb@^15.0.1 eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y@^5.1.1
{
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment