Skip to content

Instantly share code, notes, and snippets.

@fostergn
Created April 5, 2020 21:30
Show Gist options
  • Save fostergn/eb1f73cab60c061f853f8bd6a93934fd to your computer and use it in GitHub Desktop.
Save fostergn/eb1f73cab60c061f853f8bd6a93934fd to your computer and use it in GitHub Desktop.
module.exports = {
env: {
browser: true,
es6: true,
jest: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
'plugin:prettier/recommended'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'react',
'only-warn'
],
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