Created
July 12, 2020 02:57
-
-
Save robertosousa1/d558f91d778bb0ad7e486f40cce157c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
env: { | |
es2020: true, | |
}, | |
extends: ['plugin:react/recommended', 'airbnb', 'prettier', 'prettier/react'], | |
parser: 'babel-eslint', | |
parserOptions: { | |
ecmaFeatures: { | |
jsx: true, | |
}, | |
ecmaVersion: 11, | |
sourceType: 'module', | |
}, | |
plugins: ['react', 'prettier', 'react-hooks', 'jsx-a11y', 'import'], | |
rules: { | |
'prettier/prettier': 'error', | |
'react/jsx-filename-extension': [ | |
'warn', | |
{ | |
extensions: ['.jsx', '.js'], | |
}, | |
], | |
'import/prefer-default-export': 'off', | |
'no-param-reassign': 'off', | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment