Skip to content

Instantly share code, notes, and snippets.

@jancimajek
Last active September 30, 2018 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jancimajek/c7f45b990b7d525a5263731e98eb4876 to your computer and use it in GitHub Desktop.
Save jancimajek/c7f45b990b7d525a5263731e98eb4876 to your computer and use it in GitHub Desktop.
leveluptuts/React-Testing-For-Beginners
module.exports = {
"parser": "babel-eslint",
"env": {
"jest/globals": true,
"browser": true,
"es6": true
},
"settings": {
"ecmascript": 6,
"jsx": true
},
"parserOptions": {
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"experimentalDecorators": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react",
"jest"
],
"extends": "airbnb",
"rules": {
"react/jsx-filename-extension": 0,
"function-paren-newline": 0
}
};
@jancimajek
Copy link
Author

You need to install Jest ESLint plugin first: yarn add eslint-plugin-jest --dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment