text: module.exports = {
      root: true,
      parser: 'babel-eslint',
      parserOptions: {
          sourceType: 'module',
      },
      env: {
          browser: true,
      },
      extends: 'airbnb-base',
      plugins: [
          'html',
      ],
      settings: {
          'import/resolver': {
              webpack: {
                  config: 'build/webpack.conf.js',
              },
          },
      },
      rules: {
          'arrow-parens': [2, 'as-needed', {
              requireForBlockBody: false,
          }],
          'eol-last': 0,
          'guard-for-in': 0,
          indent: ['error', 4, {
              SwitchCase: 1,
          }],
          'import/extensions': ['error', 'always', {
              js: 'never',
          }],
          'import/no-extraneous-dependencies': ['error', {
              optionalDependencies: ['test/unit/index.js'],
          }],
          'no-console': process.env.NODE_ENV === 'production' ? 2 : 0,
          'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
          'no-param-reassign': ['error', {
              props: false,
          }],
          'no-plusplus': ['error', {
              allowForLoopAfterthoughts: true,
          }],
          'no-restricted-syntax': ['error', 'WithStatement'],
          'no-underscore-dangle': 0,
      },
  };