Skip to content

Commit

Permalink
refactor: remove eslint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
negezor committed Apr 10, 2024
1 parent 36d4536 commit d95b60e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/cacher/src/adapters/union.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export class UnionAdapter implements IAdapter {

let index = -1;

// eslint-disable-next-line no-return-assign
return firstItems.map(item => (
item !== undefined
? item
Expand Down
1 change: 0 additions & 1 deletion packages/cacher/src/cacher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
} from './types';
import { arraify } from './helpers';

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export class Cacher<V = any> {
protected adapter: IAdapter;

Expand Down
1 change: 0 additions & 1 deletion packages/cacher/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ export interface ICacherIncrementOptions {
value: number;
}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ICacherTouchOptions extends IAdapterTouchOptions {}
1 change: 0 additions & 1 deletion packages/redis/src/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ export class RedisAdapter implements IAdapter {
await this.redis.del(...keys);
}

// eslint-disable-next-line @typescript-eslint/no-empty-function, class-methods-use-this
public async touch(keys: IAdapterTouchOptions[]): Promise<void> {
if (keys.length === 1) {
const { key, ttl } = keys[0];
Expand Down
2 changes: 0 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const getModulePath = path => (
pathJoin(rootDir, 'packages', path)
);

// eslint-disable-next-line import/no-default-export
export default async () => (
Promise.all(
MODULES
Expand All @@ -35,7 +34,6 @@ export default async () => (
* peerDependencies?: Record<string, string>,
* }}
*/
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const modulePkg = await import(
pathJoin(modulePath, 'package.json'),
{
Expand Down

0 comments on commit d95b60e

Please sign in to comment.