text: module.exports = {
    parser: 'babel-eslint',
    env: {
      browser: false,
      node: true,
      mocha: true,
      es6: true,
    },
    parserOptions: {
      ecmaVersion: 2020,
    },
    extends: [
      'airbnb-base',
      'plugin:node/recommended'
    ],
    overrides: [{
      files: '*.mjs',
      parserOptions: {
        sourceType: 'module',
      },
    }],
    plugins: [
      'chai-friendly',
    ],
    rules: {
      'no-unused-expressions': 0,
      'chai-friendly/no-unused-expressions': 2,
      'no-param-reassign': 0,
      'camelcase': 0,
      'node/exports-style': ['error', 'module.exports'],
      'node/file-extension-in-import': ['error', 'always'],
      'node/prefer-global/buffer': ['error', 'always'],
      'node/prefer-global/console': ['error', 'always'],
      'node/prefer-global/process': ['error', 'always'],
      'node/prefer-global/url-search-params': ['error', 'always'],
      'node/prefer-global/url': ['error', 'always'],
      'node/prefer-promises/dns': 'error',
      'node/prefer-promises/fs': 'error',
      'import/extensions': ['error', {
        js: 'always',
        mjs: 'always',
        json: 'always',
      }],
      'node/no-unpublished-require': 0,
      'import/no-extraneous-dependencies': 0,
      'node/no-unpublished-import': 0,
      'node/no-unsupported-features/es-syntax': 0,
    },
  };
  