const baseRules = [
    'eslint:recommended',
].concat([
    '../src/rules/ava',
    '../src/rules/best-practices',
    '../src/rules/errors',
    '../src/rules/es6',
    '../src/rules/imports',
    '../src/rules/jsdoc',
    '../src/rules/node',
    '../src/rules/react',
    '../src/rules/strict',
    '../src/rules/style',
    '../src/rules/variables',
].map(require.resolve))

module.exports = {
    parser: 'babel-eslint',
    env: {
        node: true
    },
    extends: baseRules,
    parserOptions: {
        ecmaVersion: 7,
        sourceType: 'module',
    }
}
const baseRules = [
    'eslint:recommended',
].concat([
    '../src/rules/ava',
    '../src/rules/best-practices',
    '../src/rules/errors',
    '../src/rules/es6',
    '../src/rules/imports',
    '../src/rules/jsdoc',
    '../src/rules/node',
    '../src/rules/react',
    '../src/rules/strict',
    '../src/rules/style',
    '../src/rules/variables',
].map(require.resolve))

module.exports = {
    parser: 'babel-eslint',
    env: {
        node: true,
        browser: true,
    },
    extends: baseRules,
    parserOptions: {
        ecmaVersion: 7,
        sourceType: 'module',
    },
}
Add env browser for browser globals support
Add env browser for browser globals support
