Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Dec 13, 2024
1 parent 0bfe16b commit 1b0f931
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/blocks/Image/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BlockViewProps } from '@plone/types';
import type { BlockViewProps } from '@plone/types';
import { usePloneProvider } from '@plone/providers';

const ImageBlockView = (props: BlockViewProps) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/blocks/RenderBlocks/BlockWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode } from 'react';
import type { ReactNode } from 'react';
import cx from 'clsx';
import type { RenderBlocksProps } from './RenderBlocks';

Expand Down
2 changes: 1 addition & 1 deletion packages/blocks/Teaser/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BlockViewProps } from '@plone/types';
import type { BlockViewProps } from '@plone/types';
import { Link } from '@plone/components';

const TeaserBlockView = (props: BlockViewProps) => {
Expand Down
2 changes: 2 additions & 0 deletions packages/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "index.ts",
"scripts": {
"test": "vitest",
"check-ts": "tsc --project tsconfig.json",
"dry-release": "release-it --dry-run",
"release": "release-it",
"release-major-alpha": "release-it major --preRelease=alpha",
Expand Down
2 changes: 1 addition & 1 deletion packages/slots/components/ContentArea.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import RenderBlocks from '@plone/blocks/RenderBlocks/RenderBlocks';
import { SlotComponentProps } from '../SlotRenderer';
import type { SlotComponentProps } from '../SlotRenderer';
import config from '@plone/registry';

const ContentArea = (props: SlotComponentProps) => {
Expand Down
1 change: 0 additions & 1 deletion packages/slots/components/Logo.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import Logo from './Logo';

import type { Meta, StoryObj } from '@storybook/react';
Expand Down
2 changes: 1 addition & 1 deletion packages/slots/components/Logo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SlotComponentProps } from '../SlotRenderer';
import type { SlotComponentProps } from '../SlotRenderer';
import { Link } from '@plone/components';
import LogoImage from './Logo.svg';
import config from '@plone/registry';
Expand Down
2 changes: 1 addition & 1 deletion packages/slots/components/MainFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SlotComponentProps } from '../SlotRenderer';
import type { SlotComponentProps } from '../SlotRenderer';
import { Container, Link } from '@plone/components';
import Logo from './Logo';

Expand Down
1 change: 0 additions & 1 deletion packages/slots/components/Navigation.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import Navigation from './Navigation';

import type { Meta, StoryObj } from '@storybook/react';
Expand Down
2 changes: 2 additions & 0 deletions packages/slots/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "index.ts",
"scripts": {
"test": "vitest",
"check-ts": "tsc --project tsconfig.json",
"dry-release": "release-it --dry-run",
"release": "release-it",
"release-major-alpha": "release-it major --preRelease=alpha",
Expand Down

0 comments on commit 1b0f931

Please sign in to comment.