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 Jun 22, 2024
1 parent 3431029 commit b366458
Show file tree
Hide file tree
Showing 77 changed files with 475 additions and 405 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.9.0 -->:
- Browser version<!-- e.g. Chrome 125.0.6422.141, Firefox 126.0 -->:
- Cast Kodi version<!-- e.g. 7.10.0 -->:
- Browser version<!-- e.g. Chrome 126.0.6478.114, Firefox 127.0 -->:
- Kodi version<!-- e.g. 20.5 -->:
- Kodi add-on version (if appropriate)<!-- e.g. YouTube 7.0.7 -->:

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.9.0 -->:
- Browser version<!-- e.g. Chrome 125.0.6422.141, Firefox 126.0 -->:
- Cast Kodi version<!-- e.g. 7.10.0 -->:
- Browser version<!-- e.g. Chrome 126.0.6478.114, Firefox 127.0 -->:
- Kodi version<!-- e.g. 20.5 -->:
- Kodi add-on version (if appropriate)<!-- e.g. YouTube 7.0.7 -->:

Expand Down
14 changes: 11 additions & 3 deletions .metalint/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("eslint").Linter.Config}
* @import { Linter } from "eslint"
*/

/**
* @type {Linter.Config}
*/
export default {
plugins: [
Expand Down Expand Up @@ -497,7 +501,10 @@ export default {
"jsdoc/no-restricted-syntax": "off",
"jsdoc/no-types": "off",
"jsdoc/no-undefined-types": [
"error",
// Désactiver cette règle qui remonte des faux-positifs avec les
// tags "@import".
// https://github.com/gajus/eslint-plugin-jsdoc/issues/1244
"off",
// Ajouter RequestInit (le type du deuxième paramètre de la fonction
// fetch) qui est connu de TypeScript, mais qui n'existe pas dans
// globales (car il n'est pas dans Node.js, ni dans les
Expand Down Expand Up @@ -692,6 +699,7 @@ export default {
// Utiliser la règle no-negated-condition d'ESLint, car celle d'unicorn
// apporte seulement la correction automatique.
"unicorn/no-negated-condition": "off",
"unicorn/no-negation-in-equality-check": "error",
"unicorn/no-nested-ternary": "off",
"unicorn/no-new-array": "error",
"unicorn/no-new-buffer": "error",
Expand Down Expand Up @@ -722,7 +730,7 @@ export default {
"unicorn/number-literal-case": "off",
"unicorn/numeric-separators-style": "error",
"unicorn/prefer-add-event-listener": "error",
"unicorn/prefer-array-find": ["error", { checkFromLast: true }],
"unicorn/prefer-array-find": "error",
"unicorn/prefer-array-flat": "error",
"unicorn/prefer-array-flat-map": "error",
"unicorn/prefer-array-index-of": "error",
Expand Down
6 changes: 5 additions & 1 deletion .metalint/eslint_config.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("eslint").Linter.Config}
* @import { Linter } from "eslint"
*/

/**
* @type {Linter.Config}
*/
export default {
rules: {
Expand Down
16 changes: 11 additions & 5 deletions .metalint/eslint_node.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("eslint").Linter.Config}
* @import { Linter } from "eslint"
*/

/**
* @type {Linter.Config}
*/
export default {
rules: {
Expand Down Expand Up @@ -52,15 +56,17 @@ export default {
"n/no-path-concat": "error",
"n/no-process-exit": "error",
"n/no-unpublished-bin": "error",
"n/no-unpublished-import": "off",
"n/no-unpublished-require": "error",
"n/no-unpublished-import": "error",
// Ne pas vérifier les require(), car ils ne sont pas utilisés (en
// faveur des imports).
"n/no-unpublished-require": "off",
"n/no-unsupported-features/es-builtins": "error",
"n/no-unsupported-features/es-syntax": "error",
"n/no-unsupported-features/node-builtins": [
"error",
{
// Ignorer la vérification de fetch() et Response qui est bien
// disponible dans Node v20, mais en expérimental.
// Ignorer les vérifications de fetch() et Response qui sont
// bien disponible dans Node v20, mais en expérimental.
ignores: ["fetch", "Response"],
},
],
Expand Down
6 changes: 5 additions & 1 deletion .metalint/eslint_test.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("eslint").Linter.Config}
* @import { Linter } from "eslint"
*/

/**
* @type {Linter.Config}
*/
export default {
env: {
Expand Down
6 changes: 5 additions & 1 deletion .metalint/eslint_webext.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("eslint").Linter.Config}
* @import { Linter } from "eslint"
*/

/**
* @type {Linter.Config}
*/
export default {
env: {
Expand Down
8 changes: 6 additions & 2 deletions .metalint/markdownlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("markdownlint").Configuration}
* @import { Configuration } from "markdownlint"
*/

/**
* @type {Configuration}
*/
export default {
"heading-increment": true,
Expand All @@ -19,7 +23,7 @@ export default {
"no-multiple-blanks": true,
// eslint-disable-next-line camelcase
"line-length": { code_blocks: false, headings: false, stern: true },
"commonds-show-output": true,
"commands-show-output": true,
"no-missing-space-atx": true,
"no-multiple-space-atx": true,
"no-missing-space-closed-atx": true,
Expand Down
6 changes: 5 additions & 1 deletion .metalint/markdownlint_changelog.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("markdownlint").Configuration}
* @import { Configuration } from "markdownlint"
*/

/**
* @type {Configuration}
*/
export default {
// Ne pas vérifier la longueur des lignes du CHANGELOG, car celui-ci est
Expand Down
6 changes: 5 additions & 1 deletion .metalint/metalint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("metalint/types").Config}
* @import { Config } from "metalint/types"
*/

/**
* @type {Config}
*/
export default {
patterns: [
Expand Down
6 changes: 5 additions & 1 deletion .metalint/prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
import pluginXML from "@prettier/plugin-xml";

/**
* @type {import("prettier").Config}
* @import { Config } from "prettier"
*/

/**
* @type {Config}
*/
export default {
plugins: [pluginXML],
Expand Down
6 changes: 5 additions & 1 deletion .metalint/prettier_css.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("prettier").Config}
* @import { Config } from "prettier"
*/

/**
* @type {Config}
*/
export default {
tabWidth: 4,
Expand Down
6 changes: 5 additions & 1 deletion .metalint/prettier_javascript.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("prettier").Config}
* @import { Config } from "prettier"
*/

/**
* @type {Config}
*/
export default {
tabWidth: 4,
Expand Down
6 changes: 5 additions & 1 deletion .metalint/prettier_messages.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("prettier").Config}
* @import { Config } from "prettier"
*/

/**
* @type {Config}
*/
export default {
tabWidth: 4,
Expand Down
6 changes: 5 additions & 1 deletion .metalint/stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("stylelint").Config}
* @import { Config } from "stylelint"
*/

/**
* @type {Config}
*/
export default {
plugins: ["stylelint-order"],
Expand Down
4 changes: 2 additions & 2 deletions .script/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { JSDOM } from "jsdom";
import webExt from "web-ext";

/**
* @typedef {import("jsdom").Node} Node
* @import { Node } from "jsdom"
*/

const LOCALES_DIR = "locales";
Expand Down Expand Up @@ -61,7 +61,7 @@ const plain = function (html) {
// Supprimer l'éventuel répertoire de la précédente construction.
await fs.rm(BUILD_DIR, { force: true, recursive: true });

// Créer l'archive de l'extension.
// Créer l'archive zippée de l'extension.
await webExt.cmd.build({
sourceDir: SOURCE_DIR,
artifactsDir: BUILD_DIR,
Expand Down
6 changes: 5 additions & 1 deletion .stryker.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
*/

/**
* @type {import("@stryker-mutator/api/core").PartialStrykerOptions}
* @import { PartialStrykerOptions } from "@stryker-mutator/api/core"
*/

/**
* @type {PartialStrykerOptions}
*/
export default {
disableTypeChecks: false,
Expand Down
Loading

0 comments on commit b366458

Please sign in to comment.