Skip to content

Commit

Permalink
chore(deps): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssimon committed Aug 4, 2022
1 parent c840fa0 commit e760b12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/__tests__/breakpoints.ts
Expand Up @@ -41,7 +41,6 @@ const mqFor = (breakpoint: string, bps: BreakpointDefinitions): string => (Objec
.filter(([, val]) => val)
.map(([str, val]) => `(${str}-width: ${val})`)
.join(' and '))
// eslint-disable-next-line unicorn/no-array-reduce
).reduce((prev, curr) => curr);

/*
Expand Down
1 change: 0 additions & 1 deletion src/breakpoints.ts
Expand Up @@ -67,7 +67,6 @@ export const parseBreakpoints = (
...defaultParseConfig,
...config,
};
// eslint-disable-next-line unicorn/no-array-reduce
return Object.entries(object).reduce<BreakpointDefinitions>((obj, [key, value]) => {
const breakpointMatch = key.match(parseConfig.regex as RegExp);
if (breakpointMatch && typeof value === 'string') {
Expand Down

0 comments on commit e760b12

Please sign in to comment.