Skip to content

Instantly share code, notes, and snippets.

@LucasMallmann
Created November 6, 2019 00:52
Show Gist options
  • Save LucasMallmann/1842d962de34abcfe86bd075b57b551d to your computer and use it in GitHub Desktop.
Save LucasMallmann/1842d962de34abcfe86bd075b57b551d 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',
'react/jsx-props-no-spreading': 'off',
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment