Created
July 21, 2020 18:17
-
-
Save Tatarotus/a1c18e15b786a650377e5119b2cca88c to your computer and use it in GitHub Desktop.
eslint.js
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: { | |
browser: true, | |
es6: true, | |
}, | |
extends: ['plugin:react/recommended', 'airbnb'], | |
globals: { | |
Atomics: 'readonly', | |
SharedArrayBuffer: 'readonly', | |
}, | |
parserOptions: { | |
ecmaFeatures: { | |
jsx: true, | |
}, | |
ecmaVersion: 2018, | |
sourceType: 'module', | |
}, | |
plugins: ['react', 'jsx-a11y', 'import'], | |
rules: { | |
'react/jsx-filename-extension': [ | |
1, | |
{ | |
extensions: ['.js', '.jsx'], | |
}, | |
], | |
'import/prefer-defalt-export': off, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment