From bf390b0693af1a268b01fe5c122c95b088da799d Mon Sep 17 00:00:00 2001 From: Cloyd Lau <31238760+cloydlau@users.noreply.github.com> Date: Mon, 17 Jul 2023 22:53:38 +0800 Subject: [PATCH] docs: add code style badge (#220) Co-authored-by: Anthony Fu --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aa1bf71..8b1da25 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # @antfu/eslint-config -[![npm](https://img.shields.io/npm/v/@antfu/eslint-config?color=a1b858&label=)](https://npmjs.com/package/@antfu/eslint-config) +[![npm](https://img.shields.io/npm/v/@antfu/eslint-config?color=444&label=)](https://npmjs.com/package/@antfu/eslint-config) [![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config) - Single quotes, no semi - Auto fix for formatting (aimed to be used standalone **without** Prettier) @@ -109,6 +109,16 @@ and then npm i -D lint-staged simple-git-hooks ``` +## Badge + +If you enjoy this code style, and would like to mention it in your project, here is the badge you can use: + +```md +[![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config) +``` + +[![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config) + ## FAQ ### Prettier?