Skip to content

Instantly share code, notes, and snippets.

@jancimajek jancimajek/.eslintrc.js
Last active Sep 30, 2018

What would you like to do?
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": [
"extends": "airbnb",
"rules": {
"react/jsx-filename-extension": 0,
"function-paren-newline": 0

This comment has been minimized.

Copy link
Owner Author

commented Sep 30, 2018

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
You can’t perform that action at this time.