Skip to content

Commit eda995b

Browse files
committed
style: lint fix
1 parent d4137c5 commit eda995b

File tree

60 files changed

+2861
-1377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2861
-1377
lines changed

Diff for: README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# 每日力扣刷题
22

33
> 保持每日至少刷一题算法题:
4-
>
4+
>
55
> - [题库目录](./assets/docs/PROBLEMS.md)
66
> - [题库分类](./assets/docs/CATEGORY.md)
77
> - [力扣主页](https://leetcode-cn.com/u/ouduidui/)
88
9-
使用 [**TDD模式**](https://zh.wikipedia.org/wiki/%E6%B5%8B%E8%AF%95%E9%A9%B1%E5%8A%A8%E5%BC%80%E5%8F%91) 刷题,先根据题目的示例编辑测试用例,然后再一一实现代码逻辑,也方便测试和Debug。
9+
使用
10+
[**TDD 模式**](https://zh.wikipedia.org/wiki/%E6%B5%8B%E8%AF%95%E9%A9%B1%E5%8A%A8%E5%BC%80%E5%8F%91)
11+
刷题,先根据题目的示例编辑测试用例,然后再一一实现代码逻辑,也方便测试和 Debug。
1012

1113
### 手脚架
1214

@@ -22,4 +24,4 @@ pnpm run update
2224

2325
[MIT](./LICENSE)
2426

25-
Copyright (c) 2021 OUDUIDUI
27+
Copyright (c) 2021 OUDUIDUI

Diff for: assets/data/category.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2138,4 +2138,4 @@
21382138
}
21392139
]
21402140
}
2141-
]
2141+
]

Diff for: assets/data/problems.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2369,4 +2369,4 @@
23692369
"url": "https://leetcode-cn.com/problems/sum-of-subarray-ranges/",
23702370
"path": "../../problemset/sum-of-subarray-ranges/README.md"
23712371
}
2372-
]
2372+
]

Diff for: assets/docs/CATEGORY.md

+359-359
Large diffs are not rendered by default.

Diff for: assets/docs/PROBLEMS.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184

185185
[92. 反转链表 II](../../problemset/reverse-linked-list-2/README.md)
186186

187-
[93. 复原IP地址](../../problemset/restore-ip-addresses/README.md)
187+
[93. 复原 IP 地址](../../problemset/restore-ip-addresses/README.md)
188188

189189
[94. 二叉树的中序遍历](../../problemset/binary-tree-inorder-traversal/README.md)
190190

@@ -290,7 +290,7 @@
290290

291291
[145. 二叉树的后序遍历](../../problemset/binary-tree-postorder-traversal/README.md)
292292

293-
[146. LRU缓存](../../problemset/lru-cache/README.md)
293+
[146. LRU 缓存](../../problemset/lru-cache/README.md)
294294

295295
[147. 对链表进行插入排序](../../problemset/insertion-sort-list/README.md)
296296

@@ -322,7 +322,7 @@
322322

323323
[167. 两数之和 II - 输入有序数组](../../problemset/two-sum-ii-input-array-is-sorted/README.md)
324324

325-
[168. Excel表列名称](../../problemset/excel-sheet-column-title/README.md)
325+
[168. Excel 表列名称](../../problemset/excel-sheet-column-title/README.md)
326326

327327
[169. 多数元素](../../problemset/majority-element/README.md)
328328

@@ -336,15 +336,15 @@
336336

337337
[179. 最大数](../../problemset/largest-number/README.md)
338338

339-
[187. 重复的DNA序列](../../problemset/repeated-dna-sequences/README.md)
339+
[187. 重复的 DNA 序列](../../problemset/repeated-dna-sequences/README.md)
340340

341341
[188. 买卖股票的最佳时机 IV](../../problemset/best-time-to-buy-and-sell-stock-4/README.md)
342342

343343
[189. 轮转数组](../../problemset/rotate-array/README.md)
344344

345345
[190. 颠倒二进制位](../../problemset/reverse-bits/README.md)
346346

347-
[191. 位1的个数](../../problemset/number-of-1-bits/README.md)
347+
[191. 位 1 的个数](../../problemset/number-of-1-bits/README.md)
348348

349349
[198. 打家劫舍](../../problemset/house-robber/README.md)
350350

@@ -378,7 +378,7 @@
378378

379379
[432. 全 O(1) 的数据结构](../../problemset/all-one-data-structure/README.md)
380380

381-
[440. 字典序的第K小数字](../../problemset/k-th-smallest-in-lexicographical-order/README.md)
381+
[440. 字典序的第 K 小数字](../../problemset/k-th-smallest-in-lexicographical-order/README.md)
382382

383383
[504. 七进制数](../../problemset/base-7/README.md)
384384

@@ -472,4 +472,4 @@
472472

473473
[2100. 适合打劫银行的日子](../../problemset/find-good-days-to-rob-the-bank/README.md)
474474

475-
[2104. 子数组范围和](../../problemset/sum-of-subarray-ranges/README.md)
475+
[2104. 子数组范围和](../../problemset/sum-of-subarray-ranges/README.md)

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"scripts": {
55
"create": "node scripts/create",
66
"update": "node scripts/category",
7-
"test": "vitest",
7+
"test": "vitest --run",
88
"lint": "eslint --ext .js,.ts --ignore-path .gitignore problemset",
99
"fix": "eslint --ext .js,.ts --ignore-path .gitignore --fix problemset",
1010
"format": "prettier . --write"

0 commit comments

Comments
 (0)