From d93922aed061d36a98affb29a83c4e0e07497c70 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 22:53:31 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0-alpha.3](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v3.0.0-alpha.3) - [github.com/wenkokke/talonfmt: 1.8.0 → 1.8.1](https://github.com/wenkokke/talonfmt/compare/1.8.0...1.8.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f285d984c4..420ad21ce1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: # src/test/suite/fixtures/recorded/languages/ruby/changeCondition.yml exclude: ^src/test/suite/fixtures/recorded/.*/[^/]*\.yml$ - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v2.7.1" + rev: "v3.0.0-alpha.3" hooks: - id: prettier - repo: https://github.com/ikamensh/flynt/ @@ -39,7 +39,7 @@ repos: args: [--refactor, --py39-plus] types_or: [python, markdown, rst] - repo: https://github.com/wenkokke/talonfmt - rev: 1.8.0 + rev: 1.8.1 hooks: - id: talonfmt args: ["--in-place", "--max-line-width=88"] From 4a92bec15e9cffb352a2a9b6bafd0320a8d047f1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 22:54:23 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cursorless-nx/apps/cheatsheet-local/src/index.html | 2 +- cursorless-nx/apps/cheatsheet-local/src/main.tsx | 4 ++-- cursorless-nx/apps/cursorless-org/tailwind.config.js | 2 +- .../cheatsheet/src/lib/components/CheatsheetListComponent.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cursorless-nx/apps/cheatsheet-local/src/index.html b/cursorless-nx/apps/cheatsheet-local/src/index.html index bfa6febee4..dd3fe015a7 100644 --- a/cursorless-nx/apps/cheatsheet-local/src/index.html +++ b/cursorless-nx/apps/cheatsheet-local/src/index.html @@ -1,4 +1,4 @@ - + diff --git a/cursorless-nx/apps/cheatsheet-local/src/main.tsx b/cursorless-nx/apps/cheatsheet-local/src/main.tsx index 5b0ece955a..7f9ad6b9bf 100644 --- a/cursorless-nx/apps/cheatsheet-local/src/main.tsx +++ b/cursorless-nx/apps/cheatsheet-local/src/main.tsx @@ -4,10 +4,10 @@ import * as ReactDOM from 'react-dom/client'; import App from './app/app'; const root = ReactDOM.createRoot( - document.getElementById('root') as HTMLElement + document.getElementById('root') as HTMLElement, ); root.render( - + , ); diff --git a/cursorless-nx/apps/cursorless-org/tailwind.config.js b/cursorless-nx/apps/cursorless-org/tailwind.config.js index 90e0517252..362098a82d 100644 --- a/cursorless-nx/apps/cursorless-org/tailwind.config.js +++ b/cursorless-nx/apps/cursorless-org/tailwind.config.js @@ -49,7 +49,7 @@ module.exports = { content: [ join( __dirname, - '{src,pages,components}/**/*!(*.stories|*.spec).{ts,tsx,html}' + '{src,pages,components}/**/*!(*.stories|*.spec).{ts,tsx,html}', ), ...createGlobPatternsForDependencies(__dirname), ], diff --git a/cursorless-nx/libs/cheatsheet/src/lib/components/CheatsheetListComponent.tsx b/cursorless-nx/libs/cheatsheet/src/lib/components/CheatsheetListComponent.tsx index 5f0baf7294..3b2a7964c2 100644 --- a/cursorless-nx/libs/cheatsheet/src/lib/components/CheatsheetListComponent.tsx +++ b/cursorless-nx/libs/cheatsheet/src/lib/components/CheatsheetListComponent.tsx @@ -14,7 +14,7 @@ export default function CheatsheetListComponent({ const variations = section.items.flatMap((item) => item.variations); variations.sort((form1, form2) => - form1.spokenForm.localeCompare(form2.spokenForm) + form1.spokenForm.localeCompare(form2.spokenForm), ); const borderClassName = isHighlighted