From 5560f1787853cbe1a0b359be719efe0430ebe867 Mon Sep 17 00:00:00 2001 From: Cristopher <32661241+Namchee@users.noreply.github.com> Date: Sun, 17 Nov 2024 07:05:24 +0700 Subject: [PATCH] docs: add lint-staged to preferred manifest (#183) --- docs/modules/README.md | 1 + docs/modules/lint-staged.md | 11 +++++++++++ manifests/preferred.json | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 docs/modules/lint-staged.md diff --git a/docs/modules/README.md b/docs/modules/README.md index 89b5070..9e025be 100644 --- a/docs/modules/README.md +++ b/docs/modules/README.md @@ -37,6 +37,7 @@ ESLint plugin. - [`ìnvariant`](./invariant.md) - [`is-builtin-module`](./is-builtin-module.md) - [`jQuery`](./jquery.md) +- [`lint-staged`](./lint-staged.md) - [`lodash`, `underscore` and related](./lodash-underscore.md) - [`MaterializeCSS`](./materialize-css.md) - [`make-dir`](./mkdirp.md) diff --git a/docs/modules/lint-staged.md b/docs/modules/lint-staged.md new file mode 100644 index 0000000..b9c0bb3 --- /dev/null +++ b/docs/modules/lint-staged.md @@ -0,0 +1,11 @@ +# lint-staged + +[lint-staged](https://github.com/lint-staged/lint-staged) can be replaced with smaller and faster alternatives + +# Replacements + +## nano-staged + +[nano-staged](https://github.com/usmanyunusov/nano-staged) offers the same API while being much smaller and slighty faster + +[Project Page](https://github.com/usmanyunusov/nano-staged)[npm](https://www.npmjs.com/package/nano-staged) diff --git a/manifests/preferred.json b/manifests/preferred.json index 8ff67d9..dc7d55c 100644 --- a/manifests/preferred.json +++ b/manifests/preferred.json @@ -168,6 +168,12 @@ "docPath": "jquery", "category": "preferred" }, + { + "type": "documented", + "moduleName": "lint-staged", + "docPath": "lint-staged", + "category": "preferred" + }, { "type": "documented", "moduleName": "lodash",