undeexcepturi
Version:
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.
39 lines (35 loc) • 729 B
YAML
version: "2"
checks:
file-lines:
config:
threshold: 1000
method-lines:
config:
threshold: 200
method-count:
config:
threshold: 100
return-statements:
config:
threshold: 7
method-complexity:
config:
threshold: 7
plugins:
duplication:
enabled: true
config:
count_threshold: 3
languages:
typescript:
# make it higher so it does not report bullshit like similarity of abstract method and its implementation
mass_threshold: 80
exclude_patterns:
- '**/*ExceptionConverter.ts'
- 'packages/core/src/utils/EntityComparator.ts'
- 'docs/'
- 'temp/'
- '**/dist/'
- '**/node_modules/'
- '**/tests/'
- '**/*.d.ts'