From 8fc3a910118c926772b945f5d1e5ab807fd9de91 Mon Sep 17 00:00:00 2001 From: typicode Date: Sun, 24 Mar 2024 17:53:22 +0100 Subject: [PATCH] chore: format all files (#25) --- .github/workflows/node.js.yml | 23 +++++++++++------------ fixtures/Foo.mist.tsx | 1 - fixtures/tsconfig.json | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6204e5d..5f5052c 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,13 +5,12 @@ name: Node.js CI on: push: - branches: [ "main" ] + branches: ['main'] pull_request: - branches: [ "main" ] + branches: ['main'] jobs: build: - runs-on: ubuntu-latest strategy: @@ -20,12 +19,12 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: npm test + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm test diff --git a/fixtures/Foo.mist.tsx b/fixtures/Foo.mist.tsx index 333a55f..eb51bd0 100644 --- a/fixtures/Foo.mist.tsx +++ b/fixtures/Foo.mist.tsx @@ -31,7 +31,6 @@ export function Bar({ children, barSize, x, ...props }: BarProps) { type BazProps = { children?: React.ReactNode - } & JSX.IntrinsicElements['p'] export function Baz({ children, ...props }: BazProps) { diff --git a/fixtures/tsconfig.json b/fixtures/tsconfig.json index 8edf9cd..646bcc2 100644 --- a/fixtures/tsconfig.json +++ b/fixtures/tsconfig.json @@ -9,4 +9,4 @@ }, "include": ["**/*.tsx"], "exclude": ["node_modules"] -} \ No newline at end of file +}