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 Mar 6, 2024
1 parent d950ff3 commit c220ee6
Show file tree
Hide file tree
Showing 15 changed files with 741 additions and 528 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

- Gout extension version<!-- e.g. 0.10.0 -->:
- Browser version<!-- e.g. Chrome 120.0.6099.199, Firefox 121.0 -->:
- Gout extension version<!-- e.g. 0.11.0 -->:
- Browser version<!-- e.g. Chrome 122.0.6261.94, Firefox 123.0 -->:

### Additional context

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

- Gout extension version<!-- e.g. 0.10.0 -->:
- Browser version<!-- e.g. Chrome 120.0.6099.199, Firefox 121.0 -->:
- Gout extension version<!-- e.g. 0.11.0 -->:
- Browser version<!-- e.g. Chrome 122.0.6261.94, Firefox 123.0 -->:

### Additional context

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,16 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif

- name: Upload Snyk result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: snyk.sarif
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
config-file: .release-please/config.json
manifest-file: .release-please/manifest.json

# Formatter les fichiers modifiés par release-please, car ils ne
# respectent plus le formatage de Prettier (via Metalint).
# Si la PR (pull request) a été créée ou modifiée : formatter les fichiers
# modifiés par release-please, car ils ne respectent plus le formatage de
# Prettier (via Metalint).
# https://github.com/googleapis/release-please/issues/1802
- name: Checkout repository
if: ${{ steps.release.outputs.pr }}
Expand Down
20 changes: 12 additions & 8 deletions .metalint/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,13 +404,7 @@ export default {
"import/no-relative-parent-imports": "off",
"import/no-restricted-paths": "off",
"import/no-self-import": "error",
"import/no-unresolved": [
"error",
{
caseSensitive: true,
caseSensitiveStrict: true,
},
],
"import/no-unresolved": ["error", { caseSensitiveStrict: true }],
"import/no-useless-path-segments": "error",
"import/no-webpack-loader-syntax": "error",

Expand Down Expand Up @@ -767,7 +761,17 @@ export default {
"unicorn/require-post-message-target-origin": "off",
"unicorn/string-content": "off",
"unicorn/switch-case-braces": ["error", "avoid"],
"unicorn/template-indent": "error",
"unicorn/template-indent": [
"error",
// Configurer la règle pour qu'elle soit compatible avec Prettier.
// https://github.com/prettier/eslint-config-prettier#unicorntemplate-indent
{
tags: ["outdent", "dedent", "sql", "styled"],
functions: ["dedent", "stripIndent"],
selectors: [],
comments: ["indent"],
},
],
"unicorn/text-encoding-identifier-case": "error",
"unicorn/throw-new-error": "error",
},
Expand Down
5 changes: 4 additions & 1 deletion .metalint/eslint_browser.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ export default {
},

rules: {
// Plugin eslint-plugin-import.
// Static analysis.
"import/no-unresolved": [
"error",
{
ignore: ["^https:\\/\\/esm\\.sh\\/"],
ignore: ["^https://esm\\.sh/"],
caseSensitiveStrict: true,
},
],
},
Expand Down
8 changes: 8 additions & 0 deletions .metalint/eslint_node.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,13 @@ export default {
"n/prefer-global/url": "off",
"n/prefer-promises/dns": "error",
"n/prefer-promises/fs": "error",

// Plugin eslint-plugin-unicorn.
// Désactiver les règles suivantes, car elles s'appliquent seulement au
// DOM et sont donc inutiles dans les scripts Node.js.
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-dataset": "off",
"unicorn/prefer-dom-node-remove": "off",
"unicorn/prefer-dom-node-text-content": "off",
},
};
8 changes: 8 additions & 0 deletions .metalint/eslint_test.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default {
"prefer-arrow-callback": "off",

// Plugin eslint-plugin-mocha.
"mocha/consistent-spacing-between-blocks": "error",
"mocha/handle-done-callback": "error",
"mocha/max-top-level-suites": "error",
"mocha/no-async-describe": "error",
Expand All @@ -48,5 +49,12 @@ export default {

// Plugin eslint-plugin-no-unsanitized.
"no-unsanitized/method": "off",

// Plugin eslint-plugin-unicorn.
// Ne pas obliger à sortir les fonctions des tests.
"unicorn/consistent-function-scoping": "off",
// Autoriser la valeur null pour pouvoir tester cette valeur dans les
// tests.
"unicorn/no-null": "off",
},
};
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [0.10.0](https://github.com/regseb/gout/compare/v0.9.8...v0.10.0) (2024-01-08)

### Features
Expand Down
Loading

0 comments on commit c220ee6

Please sign in to comment.