-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfallow.toml
More file actions
48 lines (44 loc) · 1.39 KB
/
fallow.toml
File metadata and controls
48 lines (44 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Fallow configuration for idempot-js
# https://docs.fallow.tools/configuration/overview
# Entry points for analysis - files executed directly that may not be imported
entry = [
# Tap test files
"**/*.test.js",
# Cucumber feature tests
"tests/spec/**/*.feature",
# Cucumber step definitions (loaded dynamically by @cucumber/cucumber)
"tests/spec/steps/*.js",
# Example applications
"examples/*.js",
# Test helper files that provide exports for tests
"tests/integration/shared/*.js",
"packages/**/tests/*.js",
"tests/runtime/**/*.js",
# Monorepo test
"tests/monorepo/*.js",
# Integration test utilities
"tests/integration/shared/prereqs.js",
"tests/integration/shared/setup.js",
]
# Dependencies to ignore - these are runtime-native modules (Deno/Bun)
# that will never be in package.json
ignoreDependencies = [
# Deno native modules
"@db/redis", # Deno Redis client
"mysql", # Deno MySQL client
"sqlite", # Deno SQLite client
# Bun runtime namespace
"bun",
]
# Patterns for files to exclude from analysis entirely
ignorePatterns = [
# Documentation files
"docs/**",
# Generated type definitions (build outputs)
"**/*.d.ts",
]
# Override rules for specific file patterns
# Examples and tests are expected to have duplication - ignore it
[[overrides]]
files = ["examples/**/*.js", "tests/**/*.js", "packages/stores/*/tests/*.js"]
rules = { duplicates = "off" }