Created
November 17, 2020 21:24
-
-
Save jucemar-dimon/938623101ad66f03a7e8e638d8221879 to your computer and use it in GitHub Desktop.
This file contains 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