module.exports = {
    extends: ["./index.js", "plugin:react/recommended"],
    env: {
        browser: true
    },
    plugins: [
        "react"
    ],
    parserOptions: {
        sourceType: 'module',
        ecmaVersion: 6,
        ecmaFeatures: {
            "jsx": true
        }
    }
};

module.exports = {
    extends: ["./index.js", "plugin:react/recommended"],
    env: {
        browser: true
    },
    plugins: [
        "react"
    ],
    parserOptions: {
        sourceType: 'module',
        ecmaVersion: 6,
        ecmaFeatures: {
            "jsx": true
        }
    },
    rules: {
        "react/display-name": 0,
        "react/no-danger": 0
    }
};

Add common React rules to preset