text: module.exports = {
    root: true,
    extends: ['./package/shushu.pro/eslint-config-base'],
    plugins: [],
    env: {
      node: true,
      es6: true,
      jest: true,
    },
    rules: {
      // 忽略导入扩展名
      'import/extensions': [
        'error',
        'never',
        {
          js: 'never',
          ts: 'never',
        },
      ],
      '@typescript-eslint/no-var-requires': 'off',
    },
    overrides: [
      {
        files: ['rollup/**/*'],
        rules: {
          'import/no-extraneous-dependencies': 'off',
        },
      },
    ],
    settings: {
      'import/resolver': {
        alias: {
          map: [
            ['@', './src'],
            ['@ijest', './test/index'],
            ['ijest', './src/index'],
          ],
          extensions: ['.js', '.ts', '.json '],
        },
        node: {
          extensions: ['.js', '.ts', '.json'],
        },
      },
    },
  };
  