From ebf859eb24186ab7866d7c8a8010307aa4d207a6 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Sun, 5 Feb 2023 15:08:53 -0500 Subject: [PATCH] move pages in TOC --- docs/src/extend/custom-formatters.md | 2 +- docs/src/extend/custom-processors.md | 4 ++-- docs/src/extend/custom-rules.md | 4 ++-- docs/src/extend/plugins.md | 2 ++ 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/src/extend/custom-formatters.md b/docs/src/extend/custom-formatters.md index 29376d2a8502..63ea44bd14a5 100644 --- a/docs/src/extend/custom-formatters.md +++ b/docs/src/extend/custom-formatters.md @@ -2,7 +2,7 @@ title: Custom Formatters eleventyNavigation: key: custom formatters - parent: extend eslint + parent: create plugins title: Custom Formatters order: 3 diff --git a/docs/src/extend/custom-processors.md b/docs/src/extend/custom-processors.md index a2f1d8059930..d2fd3df621d2 100644 --- a/docs/src/extend/custom-processors.md +++ b/docs/src/extend/custom-processors.md @@ -2,9 +2,9 @@ title: Custom Processors eleventyNavigation: key: custom processors - parent: extend eslint + parent: create plugins title: Custom Processors - order: 5 + order: 2 --- You can also create custom processors that tell ESLint how to process files other than JavaScript. diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index 5da0b6722de5..1779e1d9f48f 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -2,9 +2,9 @@ title: Custom Rules eleventyNavigation: key: custom rules - parent: extend eslint + parent: create plugins title: Custom Rules - order: 2 + order: 1 --- diff --git a/docs/src/extend/plugins.md b/docs/src/extend/plugins.md index 970581ae4f24..bcb0d9542754 100644 --- a/docs/src/extend/plugins.md +++ b/docs/src/extend/plugins.md @@ -8,6 +8,8 @@ eleventyNavigation: --- +## Name a Plugin + Each plugin is an npm module with a name in the format of `eslint-plugin-`, such as `eslint-plugin-jquery`. You can also use scoped packages in the format of `@/eslint-plugin-` such as `@jquery/eslint-plugin-jquery` or even `@/eslint-plugin` such as `@jquery/eslint-plugin`. ## Create a Plugin