Skip to content

Commit fe19a43

Browse files
committed
chore: Mettre à jour les dépendances.
1 parent 8339c9e commit fe19a43

8 files changed

Lines changed: 2150 additions & 1997 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Setup Node.js
13-
uses: actions/setup-node@v2
13+
uses: actions/setup-node@v3
1414
with:
1515
node-version: 18
1616

1717
- name: Checkout repository
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
with:
2020
persist-credentials: false
2121

@@ -29,12 +29,12 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Setup Node.js
32-
uses: actions/setup-node@v2
32+
uses: actions/setup-node@v3
3333
with:
3434
node-version: 18
3535

3636
- name: Checkout repository
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838
with:
3939
persist-credentials: false
4040

@@ -52,12 +52,12 @@ jobs:
5252
runs-on: ubuntu-latest
5353
steps:
5454
- name: Setup Node.js
55-
uses: actions/setup-node@v2
55+
uses: actions/setup-node@v3
5656
with:
5757
node-version: 18
5858

5959
- name: Checkout repository
60-
uses: actions/checkout@v2
60+
uses: actions/checkout@v3
6161
with:
6262
persist-credentials: false
6363

@@ -78,7 +78,7 @@ jobs:
7878

7979
steps:
8080
- name: Checkout repository
81-
uses: actions/checkout@v2
81+
uses: actions/checkout@v3
8282
with:
8383
persist-credentials: false
8484

.metalint/eslint.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
"import",
55
"jsdoc",
66
"mocha",
7-
"node",
7+
"n",
88
"no-unsanitized",
99
"promise",
1010
"regexp",
@@ -122,6 +122,9 @@ export default {
122122
"id-length": 0,
123123
"id-match": 0,
124124
"init-declarations": 0,
125+
"logical-assignment-operators": [2, "always", {
126+
enforceForIfStatements: true,
127+
}],
125128
"max-classes-per-file": 2,
126129
"max-depth": [1, { max: 5 }],
127130
"max-lines": [1, {

.metalint/eslint_node.config.js

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -8,50 +8,50 @@ export default {
88
// Module systems.
99
"import/no-nodejs-modules": 0,
1010

11-
// Plugin eslint-plugin-node.
11+
// Plugin eslint-plugin-n.
1212
// Possible Errors.
13-
"node/handle-callback-err": 2,
14-
"node/no-callback-literal": 2,
15-
"node/no-exports-assign": 2,
16-
"node/no-extraneous-import": 2,
17-
"node/no-extraneous-require": 2,
18-
"node/no-missing-import": 2,
19-
"node/no-missing-require": 2,
20-
"node/no-new-require": 2,
21-
"node/no-path-concat": 2,
22-
"node/no-process-exit": 2,
23-
"node/no-unpublished-bin": 2,
24-
"node/no-unpublished-import": 0,
25-
"node/no-unpublished-require": 2,
26-
"node/no-unsupported-features/es-builtins": 2,
27-
"node/no-unsupported-features/es-syntax": [2, {
13+
"n/handle-callback-err": 2,
14+
"n/no-callback-literal": 2,
15+
"n/no-exports-assign": 2,
16+
"n/no-extraneous-import": 2,
17+
"n/no-extraneous-require": 2,
18+
"n/no-missing-import": 2,
19+
"n/no-missing-require": 2,
20+
"n/no-new-require": 2,
21+
"n/no-path-concat": 2,
22+
"n/no-process-exit": 2,
23+
"n/no-unpublished-bin": 2,
24+
"n/no-unpublished-import": 0,
25+
"n/no-unpublished-require": 2,
26+
"n/no-unsupported-features/es-builtins": 2,
27+
"n/no-unsupported-features/es-syntax": [2, {
2828
ignores: ["dynamicImport", "modules"],
2929
}],
30-
"node/no-unsupported-features/node-builtins": 2,
31-
"node/process-exit-as-throw": 2,
32-
"node/shebang": 2,
30+
"n/no-unsupported-features/node-builtins": 2,
31+
"n/process-exit-as-throw": 2,
32+
"n/shebang": 2,
3333

3434
// Best Practices.
35-
"node/no-deprecated-api": 2,
35+
"n/no-deprecated-api": 2,
3636

3737
// Stylistic Issues.
38-
"node/callback-return": 2,
39-
"node/exports-style": 2,
40-
"node/file-extension-in-import": 2,
41-
"node/global-require": 0,
42-
"node/no-mixed-requires": 2,
43-
"node/no-process-env": 0,
44-
"node/no-restricted-import": 2,
45-
"node/no-restricted-require": 2,
46-
"node/no-sync": [2, { allowAtRootLevel: true }],
47-
"node/prefer-global/buffer": 2,
48-
"node/prefer-global/console": 2,
49-
"node/prefer-global/process": 2,
50-
"node/prefer-global/text-decoder": 2,
51-
"node/prefer-global/text-encoder": 2,
52-
"node/prefer-global/url-search-params": 2,
53-
"node/prefer-global/url": 2,
54-
"node/prefer-promises/dns": 2,
55-
"node/prefer-promises/fs": 2,
38+
"n/callback-return": 2,
39+
"n/exports-style": 2,
40+
"n/file-extension-in-import": 2,
41+
"n/global-require": 0,
42+
"n/no-mixed-requires": 2,
43+
"n/no-process-env": 0,
44+
"n/no-restricted-import": 2,
45+
"n/no-restricted-require": 2,
46+
"n/no-sync": [2, { allowAtRootLevel: true }],
47+
"n/prefer-global/buffer": 2,
48+
"n/prefer-global/console": 2,
49+
"n/prefer-global/process": 2,
50+
"n/prefer-global/text-decoder": 2,
51+
"n/prefer-global/text-encoder": 2,
52+
"n/prefer-global/url-search-params": 2,
53+
"n/prefer-global/url": 2,
54+
"n/prefer-promises/dns": 2,
55+
"n/prefer-promises/fs": 2,
5656
},
5757
};

.metalint/stylelint.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ export default {
22
plugins: ["stylelint-order"],
33

44
rules: {
5-
// POSSIBLE ERRORS.
5+
// AVOID ERRORS.
6+
// Annotation
7+
"annotation-no-unknown": true,
8+
69
// Color.
710
"color-no-invalid-hex": true,
811

@@ -98,6 +101,9 @@ export default {
98101
// Imports
99102
"import-notation": "string",
100103

104+
// Keyframe selector
105+
"keyframe-selector-notation": "keyword",
106+
101107
// Keyframes.
102108
"keyframes-name-pattern": "^[a-z][0-9a-z]*(-[0-9a-z]+)*$",
103109

0 commit comments

Comments
 (0)