Skip to content

Commit

Permalink
Merge 0ee4644 into ac583af
Browse files Browse the repository at this point in the history
  • Loading branch information
2 parents ac583af + 0ee4644 commit 8428a6d
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 35 deletions.
24 changes: 15 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const aboutthe = ['one', 'two', 'three'];
const about_the = ['one', 'two', 'three'];

/**
* This is aboutthe file with errors that can be autoFixed.
* What do you think aboutit?
* Time to go to the café.
* This is about the file with errors that can be autoFixed.
* What do you think about it?
* Time to go to the cafe.
*/
export function calcBluelist(names: string[]) {
const bluelistSet = new Set(aboutthe);
export function calcGreenList(names: string[]) {
const greenListSet = new Set(about_the);

return names.filter((name) => bluelistSet.has(name));
return names.filter((name) => greenListSet.has(name));
}

export const aswell = 5;
export const as_well = 5;
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const bluelist = ['one', 'two', 'three'];
const greenList = ['one', 'two', 'three'];

/**
* This is a file with errors that can be autoFixed.
*
* Time to go to the café.
* Time to go to the cafe.
*/
export function calcBluelist(names: string[]) {
const bluelistSet = new Set(bluelist);
export function calcGreenList(names: string[]) {
const greenListSet = new Set(greenList);

return names.filter((name) => bluelistSet.has(name));
return names.filter((name) => greenListSet.has(name));
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const aboutthe = ['one', 'two', 'three'];
const about_the = ['one', 'two', 'three'];

/**
* This is aboutthe file with errors that can be autoFixed.
* What do you think aboutit?
* Time to go to the café.
* This is about the file with errors that can be autoFixed.
* What do you think about it?
* Time to go to the cafe.
*/
export function calcBluelist(names: string[]) {
const bluelistSet = new Set(aboutthe);
export function calcGreenList(names: string[]) {
const greenListSet = new Set(about_the);

return names.filter((name) => bluelistSet.has(name));
return names.filter((name) => greenListSet.has(name));
}

export const aswell = 5;
export const as_well = 5;
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const bluelist = ['one', 'two', 'three'];
const greenList = ['one', 'two', 'three'];

/**
* This is a file with errors that can be autoFixed.
*
* Time to go to the café.
* Time to go to the cafe.
*/
export function calcBluelist(names: string[]) {
const bluelistSet = new Set(bluelist);
export function calcGreenList(names: string[]) {
const greenListSet = new Set(greenList);

return names.filter((name) => bluelistSet.has(name));
return names.filter((name) => greenListSet.has(name));
}

0 comments on commit 8428a6d

Please sign in to comment.