text: module.exports = {
    env: {
      amd: true,
      node: true,
      es2021: true,
    },
    extends: [
      'plugin:@typescript-eslint/recommended',
      'plugin:import/typescript',
      'plugin:prettier/recommended',
    ],
    ignorePatterns: [
      'dist/',
      'lib/',
      'node_modules/',
      '.eslintrc.js',
      '.eslintrc.ui.js',
      'postcss.js',
      'postcss.config.js',
      'tailwindcss.js',
      'tailwind.config.js',
      'vite.config.ts',
      'vitest.config.ts',
    ],
    parser: '@typescript-eslint/parser',
    parserOptions: {
      ecmaVersion: 2021,
      sourceType: 'module',
    },
    plugins: ['import', 'prettier'],
    settings: {
      'import/parsers': {
        '@typescript-eslint/parser': ['.ts', '.tsx'],
      },
    },
    rules: {
      '@typescript-eslint/explicit-function-return-type': 'off',
      '@typescript-eslint/explicit-module-boundary-types': 'off',
      '@typescript-eslint/explicit-member-accessibility': ['error'],
      '@typescript-eslint/no-non-null-assertion': 'off',
      '@typescript-eslint/no-explicit-any': 'off',
      '@typescript-eslint/no-shadow': ['error'],
      '@typescript-eslint/no-unused-vars': ['warn'],
      'import/newline-after-import': 'error',
      'import/order': [
        'warn',
        {
          alphabetize: {
            order: 'asc',
            caseInsensitive: true,
          },
          groups: [
            'builtin',
            'type',
            'external',
            'internal',
            ['parent', 'sibling', 'index'],
          ],
          pathGroups: [
            { pattern: '@dsrbmm/**', group: 'internal' },
            { pattern: './*.css', group: 'index', position: 'after' },
          ],
          'newlines-between': 'always',
        },
      ],
      'prettier/prettier': 'error',
    },
  };
  