Skip to content

Commit f75002b

Browse files
committed
chore: Mettre à jour les dépendances.
1 parent 60b8898 commit f75002b

8 files changed

Lines changed: 879 additions & 907 deletions

File tree

.github/workflows/CI.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- name: Setup Node.js 14
1313
uses: actions/setup-node@v1
1414
with:
15-
node-version: '14'
15+
node-version: 14
1616

1717
- name: Checkout project
1818
uses: actions/checkout@v2
1919

2020
- name: Install dependencies
21-
run: npm ci
21+
run: npm install
2222

2323
- name: Lint files
2424
run: npm run lint
@@ -29,13 +29,13 @@ jobs:
2929
- name: Setup Node.js 14
3030
uses: actions/setup-node@v1
3131
with:
32-
node-version: '14'
32+
node-version: 14
3333

3434
- name: Checkout project
3535
uses: actions/checkout@v2
3636

3737
- name: Install dependencies
38-
run: npm ci
38+
run: npm install
3939

4040
- name: Run unit tests
4141
run: npm run test:unit
@@ -50,13 +50,13 @@ jobs:
5050
- name: Setup Node.js 14
5151
uses: actions/setup-node@v1
5252
with:
53-
node-version: '14'
53+
node-version: 14
5454

5555
- name: Checkout project
5656
uses: actions/checkout@v2
5757

5858
- name: Install dependencies
59-
run: npm ci
59+
run: npm install
6060

6161
- name: Run unit tests
6262
run: npm run test:unit

.metalint/eslint.config.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ export default {
384384
"import/no-named-export": 0,
385385
"import/no-anonymous-default-export": 2,
386386
"import/group-exports": 0,
387-
"import/dynamic-import-chunkname": 2,
387+
"import/dynamic-import-chunkname": 0,
388388

389389
"jsdoc/check-access": 2,
390390
"jsdoc/check-alignment": 2,
@@ -442,6 +442,7 @@ export default {
442442
name: "err",
443443
caughtErrorsIgnorePattern: "^$",
444444
}],
445+
"unicorn/consistent-destructuring": 2,
445446
"unicorn/consistent-function-scoping": 2,
446447
"unicorn/custom-error-definition": 2,
447448
"unicorn/empty-brace-spaces": 2,
@@ -455,33 +456,39 @@ export default {
455456
"unicorn/new-for-builtins": 2,
456457
"unicorn/no-abusive-eslint-disable": 2,
457458
"unicorn/no-array-callback-reference": 0,
459+
"unicorn/no-array-for-each": 0,
460+
"unicorn/no-array-push-push": 2,
458461
"unicorn/no-array-reduce": 0,
459462
"unicorn/no-console-spaces": 2,
460463
"unicorn/no-for-loop": 2,
461464
"unicorn/no-hex-escape": 2,
462465
"unicorn/no-instanceof-array": 2,
463466
"unicorn/no-keyword-prefix": 2,
464467
"unicorn/no-lonely-if": 2,
465-
"unicorn/no-nested-ternary": 2,
468+
"unicorn/no-nested-ternary": 0,
469+
"unicorn/no-new-array": 2,
466470
"unicorn/no-new-buffer": 2,
467471
"unicorn/no-null": 0,
468472
"unicorn/no-object-as-default-parameter": 2,
469473
"unicorn/no-process-exit": 2,
474+
"unicorn/no-this-assignment": 2,
470475
"unicorn/no-unreadable-array-destructuring": 2,
471476
"unicorn/no-unsafe-regex": 2,
472477
"unicorn/no-unused-properties": 2,
473478
"unicorn/no-useless-undefined": 0,
474479
"unicorn/no-zero-fractions": 2,
475480
"unicorn/number-literal-case": 2,
476-
"unicorn/numeric-separators-style": 0,
481+
"unicorn/numeric-separators-style": 2,
477482
"unicorn/prefer-add-event-listener": 2,
478483
"unicorn/prefer-array-find": 2,
479484
"unicorn/prefer-array-flat-map": 2,
485+
"unicorn/prefer-array-index-of": 2,
480486
"unicorn/prefer-array-some": 2,
481487
"unicorn/prefer-date-now": 2,
482488
"unicorn/prefer-default-parameters": 2,
483489
"unicorn/prefer-dom-node-append": 2,
484490
"unicorn/prefer-dom-node-dataset": 2,
491+
"unicorn/prefer-dom-node-remove": 2,
485492
"unicorn/prefer-dom-node-text-content": 2,
486493
"unicorn/prefer-includes": 2,
487494
"unicorn/prefer-keyboard-event-key": 2,
@@ -492,8 +499,9 @@ export default {
492499
"unicorn/prefer-optional-catch-binding": 2,
493500
"unicorn/prefer-query-selector": 2,
494501
"unicorn/prefer-reflect-apply": 2,
502+
"unicorn/prefer-regexp-test": 2,
495503
"unicorn/prefer-set-has": 2,
496-
"unicorn/prefer-spread": 2,
504+
"unicorn/prefer-spread": 0,
497505
"unicorn/prefer-string-replace-all": 2,
498506
"unicorn/prefer-string-slice": 2,
499507
"unicorn/prefer-string-starts-ends-with": 2,

.metalint/eslint_node.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default {
2121
"node/no-unpublished-require": 2,
2222
"node/no-unsupported-features/es-builtins": 2,
2323
"node/no-unsupported-features/es-syntax": [2, {
24-
ignores: ["modules"],
24+
ignores: ["dynamicImport", "modules"],
2525
}],
2626
"node/no-unsupported-features/node-builtins": 2,
2727
"node/process-exit-as-throw": 2,

0 commit comments

Comments
 (0)