We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 950d665 commit 5768b70Copy full SHA for 5768b70
1 file changed
test/ts/simple.ts
@@ -53,6 +53,16 @@ const {
53
equal(ignored, false, 'not ignored')
54
equal(unignored, false, 'not unignored')
55
56
-// Readyonly array
+// Filter an Readyonly array
57
const readonlyPaths = ['a', 'a/b', 'foo/bar'] as const
58
ig.filter(readonlyPaths)
59
+
60
+// Add an Readonly array of rules
61
+const ig6 = ignore()
62
+ig6.add([ig3, ig4] as const)
63
64
+// options.ignoreCase and options.allowRelativePaths
65
+ignore({
66
+ ignoreCase: false,
67
+ allowRelativePaths: true
68
+})
0 commit comments