Skip to content

Commit 254f8da

Browse files
committed
feature: @putout/operator-ignore: report
1 parent e136715 commit 254f8da

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

packages/operator-ignore/lib/ignore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ignore = ({name, property, list, type = __ignore}) => {
2525
};
2626
};
2727

28-
const createReport = (name) => () => `Add dotfiles to '${name}'`;
28+
const createReport = (name) => () => `Add ignored files to '${name}'`;
2929

3030
const createMatch = ({type, property, collector, list}) => ({options}) => {
3131
const {dismiss = []} = options;

packages/operator-ignore/lib/ignore.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test('putout: operator: ignore: __json: places', (t) => {
4141
});
4242

4343
const expected = [{
44-
message: `Add dotfiles to '.npmignore'`,
44+
message: `Add ignored files to '.npmignore'`,
4545
position: {
4646
column: 1,
4747
line: 1,
@@ -78,7 +78,7 @@ test('putout: operator: ignore: __ignore: places', (t) => {
7878
});
7979

8080
const expected = [{
81-
message: `Add dotfiles to '.npmignore'`,
81+
message: `Add ignored files to '.npmignore'`,
8282
position: {
8383
column: 1,
8484
line: 1,

packages/plugin-coverage/test/coverage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const test = createTest(import.meta.url, {
88
});
99

1010
test('plugin-coverage: report: coverage', (t) => {
11-
t.report('coverage', `Add dotfiles to '.nycrc.json'`);
11+
t.report('coverage', `Add ignored files to '.nycrc.json'`);
1212
t.end();
1313
});
1414

packages/plugin-gitignore/test/gitignore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const test = createTest(import.meta.url, {
88
});
99

1010
test('plugin-gitignore: report: gitignore', (t) => {
11-
t.report('gitignore', `Add dotfiles to '.gitignore'`);
11+
t.report('gitignore', `Add ignored files to '.gitignore'`);
1212
t.end();
1313
});
1414

packages/plugin-npmignore/test/npmignore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const test = createTest(import.meta.url, {
88
});
99

1010
test('plugin-npmignore: report: npmignore', (t) => {
11-
t.report('npmignore', `Add dotfiles to '.npmignore'`);
11+
t.report('npmignore', `Add ignored files to '.npmignore'`);
1212
t.end();
1313
});
1414

0 commit comments

Comments
 (0)