Browse Source

Revert "chore: fix formatting issues"

This reverts commit 8ff3140e77.
pull/5786/head
Vaishnavi Parabkar 3 weeks ago
parent
commit
d7b661a038
  1. 10
      .husky/pre-commit
  2. 2
      libs/ui/src/lib/logo-carousel/logo-carousel.component.ts

10
.husky/pre-commit

@ -1,8 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Run linting on affected files
# Run linting and stop the commit process if any errors are found
# --quiet suppresses warnings (temporary until all warnings are fixed)
npm run affected:lint --base=main --head=HEAD --parallel=2 --quiet || exit 1
# Check formatting only on staged files
npx nx format:check --files=$(git diff --cached --name-only --diff-filter=ACM | grep '\.ts\|\.tsx\|\.js\|\.jsx') || exit 1
# Check formatting on modified and uncommitted files, stop the commit if issues are found
npm run format:check --uncommitted || exit 1

2
libs/ui/src/lib/logo-carousel/logo-carousel.component.ts

@ -84,7 +84,7 @@ export class GfLogoCarouselComponent {
},
{
className: 'logo-selfhostedhub',
isMask: true,
isMask: true,
name: 'SelfhostedHub',
title: 'SelfhostedHub – Discover self-hosted software solutions',
url: 'https://selfhostedhub.com'

Loading…
Cancel
Save