From 3e7d85dd3bd8feeba025cca51e5f2d8b5416a67d Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Fri, 22 Nov 2024 20:59:42 +0000 Subject: [PATCH] fix(js): updates to svelte v5 --- .../.pre-commit-config.yaml | 12 +++++------- .../svelte/{.eslint.config.js => eslint.config.js} | 0 2 files changed, 5 insertions(+), 7 deletions(-) rename js/{{ cookiecutter.project_name }}/svelte/{.eslint.config.js => eslint.config.js} (100%) diff --git a/js/{{ cookiecutter.project_name }}/.pre-commit-config.yaml b/js/{{ cookiecutter.project_name }}/.pre-commit-config.yaml index 8401c86..6ac6c36 100644 --- a/js/{{ cookiecutter.project_name }}/.pre-commit-config.yaml +++ b/js/{{ cookiecutter.project_name }}/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: license-eye - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: pretty-format-json args: @@ -19,7 +19,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/compilerla/conventional-pre-commit - rev: v3.2.0 + rev: v3.6.0 hooks: - id: conventional-pre-commit stages: @@ -29,7 +29,7 @@ repos: hooks: - id: markdown-toc - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.13.0 + rev: v0.15.0 hooks: - id: markdownlint-cli2 - repo: https://github.com/pre-commit/mirrors-prettier @@ -46,9 +46,7 @@ repos: stages: - pre-commit - repo: https://github.com/pre-commit/mirrors-eslint - # Pin to v8 until TS support is in GA - # @link https://github.com/typescript-eslint/typescript-eslint/issues/8211 - rev: 'v8.56.0' + rev: 'v9.15.0' hooks: - id: eslint {%- if cookiecutter.type == "svelte" %} @@ -58,6 +56,6 @@ repos: {%- endif %} types: [file] - repo: https://github.com/mrsimonemms/toodaloo - rev: v0.2.2 + rev: v0.2.3 hooks: - id: scan diff --git a/js/{{ cookiecutter.project_name }}/svelte/.eslint.config.js b/js/{{ cookiecutter.project_name }}/svelte/eslint.config.js similarity index 100% rename from js/{{ cookiecutter.project_name }}/svelte/.eslint.config.js rename to js/{{ cookiecutter.project_name }}/svelte/eslint.config.js