Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/prettier/ignore.ts>parse

A modern runtime for JavaScript and TypeScript.
Go to Latest
function parse
import { parse } from "https://deno.land/x/deno@v0.28.0/std/prettier/ignore.ts";

Parse the contents of the ignore file and return patterns. It can parse files like .gitignore/.npmignore/.prettierignore

Parameters

ignoreString: string

Returns

Set<string>

patterns