self-serve-integration-service
Version:
Self-Serve Integration Service for managing multiple funder integrations including REST APIs, SOAP APIs, and UI automation
33 lines (30 loc) • 832 B
JavaScript
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
rules: {
// Allow console statements in server/gateway code
'no-console': 'off',
// Allow unused vars if they start with underscore
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
// Allow any type in middleware functions
'@typescript-eslint/no-explicit-any': 'warn',
},
env: {
node: true,
es6: true,
jest: true,
},
ignorePatterns: ['dist/', 'node_modules/', 'coverage/', 'docs/', 'testdoc/', '*.js'],
};