From 236eb64aadc59df88eee007d285ee7c0596f8c6b Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Sun, 30 Jun 2024 23:53:32 +0700 Subject: [PATCH] add `jQuery` --- docs/modules/README.md | 1 + docs/modules/jquery.md | 17 +++++++++++++++++ manifests/preferred.json | 6 ++++++ 3 files changed, 24 insertions(+) create mode 100644 docs/modules/jquery.md diff --git a/docs/modules/README.md b/docs/modules/README.md index ae84f8d..c7b5146 100644 --- a/docs/modules/README.md +++ b/docs/modules/README.md @@ -21,6 +21,7 @@ ESLint plugin. - [`eslint-plugin-node`](./eslint-plugin-node.md) - [`eslint-plugin-react`](./eslint-plugin-react.md) - [`is-builtin-module`](./is-builtin-module.md) +- [`jQuery`](./jquery.md) - [`lodash`, `underscore` and related](./lodash-underscore.md) - [`MaterializeCSS`](./materialize-css.md) - [`moment.js`](./momentjs.md) diff --git a/docs/modules/jquery.md b/docs/modules/jquery.md new file mode 100644 index 0000000..b5f303b --- /dev/null +++ b/docs/modules/jquery.md @@ -0,0 +1,17 @@ +# jQuery + +jQuery is a great project that at one time greatly simplified the life of web developers. However, now almost all features from this project can be easily replaced with native JavaScript methods so it makes little sense to load a dependency this large to provide them. + +# Replacements + +## You might not need jQuery + +Here you could read how to replace jQuery in your project. + +[Project Page](https://youmightnotneedjquery.com/) + +## You (Might) Don't Need jQuery + +Here you could read how to replace jQuery in your project. + +[Project Page](https://github.com/camsong/You-Dont-Need-jQuery) diff --git a/manifests/preferred.json b/manifests/preferred.json index 6437c31..68972b8 100644 --- a/manifests/preferred.json +++ b/manifests/preferred.json @@ -60,6 +60,12 @@ "docPath": "is-builtin-module", "category": "preferred" }, + { + "type": "documented", + "moduleName": "jquery", + "docPath": "jquery", + "category": "preferred" + }, { "type": "documented", "moduleName": "lodash",