Skip to content

Commit

Permalink
fix eslint config, and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Jun 12, 2024
1 parent 6fae684 commit 96ed4ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
{
files: ['apps/storefront/**/*', 'apps/dev/**/*', 'apps/theme/**/*'],
extends: ['plugin:@next/next/recommended'],
overrides: {
rules: {
'@next/next/no-img-element': 'off',
},
},
Expand Down
3 changes: 2 additions & 1 deletion apps/storefront/components/Image/Image.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import cl from 'clsx';

Check warning on line 1 in apps/storefront/components/Image/Image.tsx

View workflow job for this annotation

GitHub Actions / Builds, lints and tests code

There should be no empty line within import group

import classes from './Image.module.css';
import { Paragraph } from '@digdir/designsystemet-react';

import classes from './Image.module.css';

interface ImageProps {
alt: string;
src: string;
Expand Down

0 comments on commit 96ed4ab

Please sign in to comment.