Skip to content

Commit 651d96b

Browse files
feat: update deps (#82)
1 parent d5f6101 commit 651d96b

File tree

5 files changed

+584
-925
lines changed

5 files changed

+584
-925
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, windows-latest, macos-latest]
17-
node-version: [18.x, 20.x, 22.x, 24.x]
17+
node-version: [20.x, 22.x, 24.x]
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- uses: actions/checkout@v4
@@ -24,8 +24,6 @@ jobs:
2424
node-version: ${{ matrix.node-version }}
2525
architecture: ${{ steps.calculate_architecture.outputs.result }}
2626
cache: "npm"
27-
- run: npm install -D eslint-plugin-jsdoc@50
28-
if: matrix.node-version == '18.x'
2927
- run: npm ci
3028
- run: npm run lint
3129
- uses: codecov/codecov-action@v5

configs/javascript.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,9 @@ const unicornRules = {
746746
// No need
747747
// "unicorn/no-array-reduce": "off",
748748

749+
// No need
750+
// "unicorn/no-array-reverse": "off",
751+
749752
// No need
750753
// "unicorn/no-await-expression-member": "off",
751754

@@ -837,6 +840,8 @@ const unicornRules = {
837840
// No need
838841
// "unicorn/no-unused-properties": "off",
839842

843+
"unicorn/no-useless-error-capture-stack-trace": "error",
844+
840845
"unicorn/no-useless-fallback-in-spread": "error",
841846

842847
"unicorn/no-useless-length-check": "error",
@@ -878,6 +883,9 @@ const unicornRules = {
878883

879884
"unicorn/prefer-blob-reading-methods": "error",
880885

886+
// TODO enable in future
887+
"unicorn/prefer-class-fields": "error",
888+
881889
// No need
882890
// "unicorn/prefer-code-point": "error",
883891

@@ -997,6 +1005,8 @@ const unicornRules = {
9971005
// No need
9981006
// "unicorn/require-array-join-separator": "error",
9991007

1008+
"unicorn/require-module-specifiers": "error",
1009+
10001010
// No need
10011011
// "unicorn/require-number-to-fixed-digits-argument": "error",
10021012

@@ -1026,7 +1036,8 @@ const importRules = {
10261036
// No need
10271037
// "import/no-deprecated": "off",
10281038

1029-
"import/no-empty-named-blocks": "error",
1039+
// No need, we have `unicorn/require-module-specifiers`
1040+
// "import/no-empty-named-blocks": "off",
10301041

10311042
"import/no-extraneous-dependencies": "error",
10321043

0 commit comments

Comments
 (0)