From 301660ca4ac32ea27b7502bfbd4da84b72734147 Mon Sep 17 00:00:00 2001 From: David Dias Date: Sun, 20 Oct 2024 17:15:28 -0400 Subject: [PATCH] refactor: small improvements --- .github/FUNDING.yml | 3 --- .github/workflows/readme-check.yml | 8 +------- .husky/pre-push | 5 +---- README.md | 10 +++------- package.json | 2 +- 5 files changed, 6 insertions(+), 22 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 3ad2c95..cd3698b 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,3 @@ open_collective: front-end-checklist github: thedaviddias -ko_fi: thedaviddias -patreon: thedaviddias -buy_me_a_coffee: thedaviddias thanks_dev: thedaviddias diff --git a/.github/workflows/readme-check.yml b/.github/workflows/readme-check.yml index 7f14321..d62e6fb 100644 --- a/.github/workflows/readme-check.yml +++ b/.github/workflows/readme-check.yml @@ -1,12 +1,9 @@ name: Readme Check on: - push: - paths: - - './README.md' pull_request: paths: - - './README.md' + - 'README.md' env: HUSKY: 0 @@ -35,9 +32,6 @@ jobs: - name: Check Markdown formatting run: pnpm format:check - - name: Lint Markdown - run: pnpm lint:md - - name: Link Checker uses: lycheeverse/lychee-action@v2.0.2 with: diff --git a/.husky/pre-push b/.husky/pre-push index 717b93c..211052b 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -pnpm lint:md && npm format:fix +pnpm format:fix diff --git a/README.md b/README.md index 5ae5ecd..8c6532d 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,8 @@ HTML page to production. - [🎮 Front-End Performance Checklist](https://github.com/thedaviddias/Front-End-Performance-Checklist#---------front-end-performance-checklist-) - [💎 Front-End Design Checklist](https://github.com/thedaviddias/Front-End-Design-Checklist#front-end-design-checklist) ---- - -## ⭐️ I've just launched a new curated list for [indie developers](https://github.com/thedaviddias/indie-dev-toolkit), feel free to check it out! ⭐️ - ---- +> [!TIP] +> ⭐️ I've just launched a new curated list for [indie developers](https://github.com/thedaviddias/indie-dev-toolkit), feel free to check it out! ⭐️ ## 📚 Table of Contents @@ -482,8 +479,6 @@ considered if you target a particular presence on those and want to ensure the d - 🛠 [Imagemin](https://github.com/imagemin/imagemin) - 🛠 Use [ImageOptim](https://imageoptim.com/) to optimise your images for free. - 🛠 Use [KeyCDN Image Processing](https://www.keycdn.com/support/image-processing) for image optimization in real time. -- 🛠 Use [Kraken.io](https://kraken.io/web-interface) awesome alternative for both png and jpg optimization. Up to 1mb - per files on free plan. - 🛠 [TinyPNG](https://tinypng.com/) optimises png, apng (animated png) and jpg images with very small loss in quality. Free and paid version available. - 🛠 [ZorroSVG](http://quasimondo.com/ZorroSVG/) jpg-like compression for transparent images using svg masking. @@ -828,6 +823,7 @@ The Front-End Checklist is also available in other languages. Thanks for all tra If you have any question or suggestion, don't hesitate to reach me on X: - [X (formerly Twitter)](https://ddias.link/x) +- [Chat on Discord](https://ddias.link/discord) ## Contributors diff --git a/package.json b/package.json index 1d36ffb..9d352e4 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "The perfect Front-End Checklist for modern websites and meticulous developers", "scripts": { "format:check": "prettier --check README.md", - "format:fix": "markdownlint README.md && prettier --write README.md", + "format:fix": "prettier --write README.md && markdownlint README.md", "prepare": "husky || true" }, "keywords": [