{ // Extend existing configuration // from ESlint and eslint-plugin-react defaults. "extends": [ "eslint:recommended", "plugin:react/recommended" ], // Enable ES6 support. If you want to use custom Babel // features, you will need to enable a custom parser // as described in a section below. "parser": "babel-eslint", "env": { "browser": true, "node": true, "jest": true }, // Enable custom plugin known as eslint-plugin-react "plugins": [ "react" ], "settings": { "react": { "pragma": "React", "version": "16.5.1" }, "propWrapperFunctions": [ "forbidExtraProps" ], "ecmascript": 7, "jsx": true }, "rules": { // Disable `no-console` rule "no-console": 0, // Give a warning if identifiers contain underscores "no-underscore-dangle": ["error", { "allow": ["_children"] }], // Default to single quotes and raise an error if something // else is used "quotes": [2, "single"] } }