Skip to content

Instantly share code, notes, and snippets.

@lrohde
Last active April 7, 2020 13:33
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 lrohde/abc4f6134229bbf4c6a9aaabe85285e1 to your computer and use it in GitHub Desktop.
Save lrohde/abc4f6134229bbf4c6a9aaabe85285e1 to your computer and use it in GitHub Desktop.
module.exports = {
env: {
es6: true,
},
extends: ["airbnb", "prettier", "prettier/react"],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parser: "babel-eslint",
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: "module",
},
plugins: ["react", "prettier"],
rules: {
"prettier/prettier": "error",
"react/jsx-filename-extension": [
"warn",
{
extensions: [".jsx", ".js"],
},
],
"import/prefer-default-export": "off",
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment