Skip to content

Commit 93f3005

Browse files
committed
style: fix Prettier formatting
1 parent a0e598e commit 93f3005

3 files changed

Lines changed: 12 additions & 15 deletions

File tree

.eslintrc.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ module.exports = {
22
root: true,
33
parser: '@typescript-eslint/parser',
44
plugins: ['@typescript-eslint'],
5-
extends: [
6-
'eslint:recommended',
7-
'plugin:@typescript-eslint/recommended'
8-
],
5+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
96
parserOptions: {
107
ecmaVersion: 2020,
118
sourceType: 'module',
@@ -18,6 +15,6 @@ module.exports = {
1815
rules: {
1916
'@typescript-eslint/no-explicit-any': 'off',
2017
'@typescript-eslint/explicit-module-boundary-types': 'off',
21-
'@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_' }]
18+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }]
2219
}
2320
};

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ This is a monorepo containing the following packages:
4242

4343
### Core Package
4444

45-
| Package | Version | Description |
46-
| ----------------------------------- | -------------------------------------------------------------- | ---------------------------------------------------------------------- |
45+
| Package | Version | Description |
46+
| --------------------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------- |
4747
| [@node-ts-cache/core](./ts-cache) | ![npm](https://img.shields.io/npm/v/@node-ts-cache/core.svg) | Core caching module with decorators, strategies, and built-in storages |
4848

4949
### Storage Adapters
5050

51-
| Package | Version | Description |
52-
| ----------------------------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------ |
51+
| Package | Version | Description |
52+
| ---------------------------------------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------ |
5353
| [@node-ts-cache/redis-storage](./storages/redis) | ![npm](https://img.shields.io/npm/v/@node-ts-cache/redis-storage.svg) | Redis storage using `redis` package (v3.x) |
5454
| [@node-ts-cache/ioredis-storage](./storages/redisio) | ![npm](https://img.shields.io/npm/v/@node-ts-cache/ioredis-storage.svg) | Redis storage using `ioredis` with compression support |
5555
| [@node-ts-cache/node-cache-storage](./storages/node-cache) | ![npm](https://img.shields.io/npm/v/@node-ts-cache/node-cache-storage.svg) | In-memory cache using `node-cache` |

storages/lru-redis/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,16 @@ new LRUWithRedisStorage(
114114
)
115115
```
116116

117-
| Parameter | Type | Description |
118-
| --------- | ---------------------------- | ---------------------------------------- |
119-
| `options` | `LRUWithRedisStorageOptions` | Options for local LRU cache and TTL |
117+
| Parameter | Type | Description |
118+
| --------- | ---------------------------- | ----------------------------------------- |
119+
| `options` | `LRUWithRedisStorageOptions` | Options for local LRU cache and TTL |
120120
| `redis` | `() => Redis.Redis` | Factory function returning ioredis client |
121121

122122
### Options
123123

124-
| Option | Type | Default | Description |
125-
| ------ | -------- | ------- | ------------------------------------------------ |
126-
| `max` | `number` | `500` | Maximum items in local LRU cache |
124+
| Option | Type | Default | Description |
125+
| ------ | -------- | ------- | -------------------------------------------------- |
126+
| `max` | `number` | `500` | Maximum items in local LRU cache |
127127
| `ttl` | `number` | `86400` | Time to live in **seconds** (for both LRU & Redis) |
128128

129129
## Interface

0 commit comments

Comments
 (0)