.eslintrc.node.js 433 B

123456789101112131415161718192021
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. // This is a workaround for https://github.com/eslint/eslint/issues/3458
  6. require('@rushstack/eslint-config/patch/modern-module-resolution');
  7. module.exports = {
  8. extends: ['./.eslintrc.base.js'],
  9. globals: {
  10. NodeJS: true,
  11. },
  12. env: {
  13. browser: false,
  14. node: true,
  15. es2020: true,
  16. jest: true,
  17. },
  18. rules: {},
  19. };