UNPKG

@starbemtech/star-node-stack-helper

Version:

A helper library for Node.js applications that provides utilities for AWS Secrets Manager integration and Elasticsearch/OpenSearch logging with enterprise-grade features.

39 lines (37 loc) 881 B
import js from '@eslint/js' import globals from 'globals' import tseslint from 'typescript-eslint' import { defineConfig } from 'eslint/config' export default defineConfig([ { files: ['**/*.{js,mjs,cjs,ts,mts,cts}'], plugins: { js }, extends: ['js/recommended'], }, { files: ['**/*.{js,mjs,cjs,ts,mts,cts}'], languageOptions: { globals: globals.node }, }, tseslint.configs.recommended, { files: ['**/*.test.ts', '**/*.spec.ts', '**/__tests__/**/*.ts'], rules: { '@typescript-eslint/no-explicit-any': 'off', }, }, { files: [ 'src/logger-pino/index.ts', 'src/middlewares/performance-logger.ts', ], rules: { '@typescript-eslint/no-explicit-any': 'off', }, }, { files: ['src/middlewares/transaction-logger.ts'], rules: { '@typescript-eslint/no-namespace': 'off', }, }, ])