Skip to content

Commit 6857d7a

Browse files
committed
lint: (temporarily) explicitly ignore snapshot files
The `--ext .ts` flag should ignore the snapshot files, but for some reason it isn't. Temporarily ignore them explicitly so that CI passes.
1 parent 3cdba65 commit 6857d7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test": "jest",
88
"test-update": "jest -u",
99
"format": "prettier --write \"{lib,bin}/**/*.ts\"",
10-
"lint": "eslint lib/** bin/** --ext .ts --no-error-on-unmatched-pattern",
10+
"lint": "eslint lib/** bin/** --ext .ts --no-error-on-unmatched-pattern --ignore-pattern lib/__snapshots__",
1111
"synth": "cdk synth --path-metadata false --version-reporting false",
1212
"diff": "cdk diff --path-metadata false --version-reporting false"
1313
},

0 commit comments

Comments
 (0)