Skip to content

Commit

Permalink
chore: Mettre à jour les dépendances.
Browse files Browse the repository at this point in the history
  • Loading branch information
regseb committed Nov 20, 2024
1 parent 27c7823 commit fbccb34
Show file tree
Hide file tree
Showing 19 changed files with 634 additions and 704 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Steps to reproduce the behavior:

### Environment

- Cast Kodi version<!-- e.g. 7.12.0 -->:
- Browser version<!-- e.g. Chrome 129.0.6668.100, Firefox 131.0 -->:
- Cast Kodi version<!-- e.g. 7.12.1 -->:
- Browser version<!-- e.g. Chrome 130.0.6723.116, Firefox 132.0 -->:
- Kodi version<!-- e.g. 21.1 -->:
- Kodi add-on version (if appropriate)<!-- e.g. YouTube 7.0.9 -->:

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ assignees: ""

### Environment

- Cast Kodi version<!-- e.g. 7.12.0 -->:
- Browser version<!-- e.g. Chrome 129.0.6668.100, Firefox 131.0 -->:
- Cast Kodi version<!-- e.g. 7.12.1 -->:
- Browser version<!-- e.g. Chrome 130.0.6723.116, Firefox 132.0 -->:
- Kodi version<!-- e.g. 21.1 -->:
- Kodi add-on version (if appropriate)<!-- e.g. YouTube 7.0.9 -->:

Expand Down
11 changes: 6 additions & 5 deletions .metalint/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,7 @@ export default {
"prefer-template": "off",
radix: "error",
"require-await": "error",
// Ne pas encore utiliser le drapeau "v", car Add-ons Linter ne le
// supporte pas. https://github.com/mozilla/addons-linter/issues/5462
"require-unicode-regexp": ["error", { requireFlag: "u" }],
"require-unicode-regexp": ["error", { requireFlag: "v" }],
"require-yield": "error",
"sort-imports": [
"error",
Expand Down Expand Up @@ -638,7 +636,10 @@ export default {
"regexp/prefer-regexp-exec": "error",
"regexp/prefer-regexp-test": "error",
"regexp/prefer-set-operation": "error",
"regexp/require-unicode-regexp": "error",
// Désactiver cette règle qui est quasi-identique à la règle
// "require-unicode-regexp" (seule la position de la notification est
// différente).
"regexp/require-unicode-regexp": "off",
"regexp/simplify-set-operations": "error",
"regexp/sort-alternatives": "error",
"regexp/use-ignore-case": "error",
Expand Down Expand Up @@ -675,7 +676,7 @@ export default {

// Plugin eslint-plugin-unicorn.
"unicorn/better-regex": "error",
"unicorn/catch-error-name": ["error", { ignore: [/^err$/u, /^e$/u] }],
"unicorn/catch-error-name": ["error", { ignore: [/^err$/v, /^e$/v] }],
"unicorn/consistent-destructuring": "error",
"unicorn/consistent-empty-array-spread": "error",
"unicorn/consistent-existence-index-check": "error",
Expand Down
6 changes: 3 additions & 3 deletions .metalint/eslint_node.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ export default {
"n/no-unsupported-features/node-builtins": [
"error",
{
// Ignorer les vérifications de navigator qui est en
// expérimental dans Node v22.
ignores: ["navigator"],
// Ignorer les vérifications de CloseEvent et navigator qui sont
// en expérimental dans Node v22.
ignores: ["CloseEvent", "navigator"],
},
],
"n/process-exit-as-throw": "error",
Expand Down
10 changes: 8 additions & 2 deletions .metalint/eslint_test.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,14 @@ export default {
"mocha/no-exclusive-tests": "error",
"mocha/no-exports": "error",
"mocha/no-global-tests": "error",
"mocha/no-hooks": ["error", { allow: ["before"] }],
"mocha/no-hooks-for-single-case": "error",
// Autoriser les hooks "afterEach", car ils sont toujours exécuter après
// les tests (pour nettoyer l'environnement) même si les tests ont
// échoués. Et autoriser les "before" pour désactiver les tests selon
// dans quel pays ils sont exécutés.
"mocha/no-hooks": ["error", { allow: ["afterEach", "before"] }],
// Désactiver cette règle, car il n'y a pas de condition différente avec
// la règle "no-hook".
"mocha/no-hooks-for-single-case": "off",
"mocha/no-identical-title": "error",
"mocha/no-mocha-arrows": "error",
"mocha/no-nested-tests": "error",
Expand Down
7 changes: 7 additions & 0 deletions .metalint/eslint_webext.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ export default {
...globals.webextensions,
},
},

rules: {
// Suggestions.
// Ne pas utiliser le drapeau "v", car Add-ons Linter ne le supporte
// pas. https://github.com/mozilla/addons-linter/issues/5462
"require-unicode-regexp": ["error", { requireFlag: "u" }],
},
};
1 change: 1 addition & 0 deletions .release-please/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"release-type": "node",
"include-component-in-tag": false,
"always-update": true,
"extra-files": ["src/manifest.json"],
"packages": {
".": {}
Expand Down
Loading

0 comments on commit fbccb34

Please sign in to comment.