Skip to content

Commit

Permalink
feature(putout) options: ignore: add .pnp.*
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Dec 16, 2021
1 parent b069eff commit 487d823
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/putout/putout.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
"**/fixture",
"**/.nyc_output",
"**/.yarn",
"**/.pnp.*",
"**/coverage",
"**/dist",
"**/dist-dev",
Expand Down
10 changes: 10 additions & 0 deletions packages/putout/test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ test('putout: config: ignore: .yarn', (t) => {
t.ok(result);
t.end();
});

test('putout: config: ignore: .pnp.*', (t) => {
const {ignore} = putoutConfig;

const result = ignore.includes('**/.pnp.*');

t.ok(result);
t.end();
});

0 comments on commit 487d823

Please sign in to comment.