Skip to content
Snippets Groups Projects
  • Konstantin Tsabolov's avatar
    67a6c1f1
    chore: reorganize attestation-manager · 67a6c1f1
    Konstantin Tsabolov authored
    * Upgraded the dependencies to the latest versions
    * Switched output to ESM format
    * Switched NestJS and Jest to SWC to improve speed of building and testing
    * Refactored TSConfig to remove tsconfig-paths
    * Updated imports in all files to reflect the change in TSConfig
    * Changed the linting rules (removed AirBnB config)
    * Fixed Prettier installation (added ignore file)
    * Fixed typing errors (mainly usage of any's)
    * Fixed the non-working E2E test
    
    P.S. None of the mentioned doesn't make sense alone, therefore a huge commit :shrug:
    chore: reorganize attestation-manager
    Konstantin Tsabolov authored
    * Upgraded the dependencies to the latest versions
    * Switched output to ESM format
    * Switched NestJS and Jest to SWC to improve speed of building and testing
    * Refactored TSConfig to remove tsconfig-paths
    * Updated imports in all files to reflect the change in TSConfig
    * Changed the linting rules (removed AirBnB config)
    * Fixed Prettier installation (added ignore file)
    * Fixed typing errors (mainly usage of any's)
    * Fixed the non-working E2E test
    
    P.S. None of the mentioned doesn't make sense alone, therefore a huge commit :shrug:
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.eslintrc.cjs 851 B
module.exports = {
  root: true,
  parser: '@typescript-eslint/parser',
  parserOptions: {
    sourceType: 'module',
    ecmaVersion: 2021,
  },
  env: {
    node: true,
  },
  plugins: ['prettier', '@typescript-eslint/eslint-plugin', 'jest'],
  extends: [
    'prettier',
    'plugin:@typescript-eslint/recommended',
    'plugin:jest/recommended',
  ],
  ignorePatterns: ['.eslintrc.js'],
  overrides: [],
  settings: {
    jest: {
      version: '29',
    },
  },
  rules: {
    'no-unused-vars': 0,
    '@typescript-eslint/no-unused-vars': [1, { argsIgnorePattern: '^_' }],
  },
  overrides: [
    {
      files: [
        '*.spec.ts',
        '*.e2e-spec.ts',
        '__mocks__/*.ts',
        '__mocks__/**/*.ts',
      ],
      rules: {
        '@typescript-eslint/no-explicit-any': 0,
        'jest/no-mocks-import': 0,
      },
    },
  ],
};