From d399f747dda9f3edd4d251ba4948d9c99601c8d8 Mon Sep 17 00:00:00 2001 From: Matthew Glissmann Date: Thu, 8 Sep 2022 17:39:21 -0600 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3ce50cd..1aa22aa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -58,7 +58,7 @@ Follow the prompts to name your rule and give a description. Keep in mind our [r Your rule can be found in `lib/rules/.js` file. Follow these steps when writing your rule: -1. Use [Abstract Syntax Tree (AST)](https://astexplorer.net/) as a sandbox to write and test your rule. AST makes it easy to find the correct selector for a given element. More guidance on selectors can be found under Eslint's [Selectors](https://eslint.org/docs/developer-guide/selectors) documentation. +1. Use [Abstract Syntax Tree (AST)]([https://astexplorer.net/](https://astexplorer.net/#/gist/8472f65002e82a8da746829c483f7d20/4f96d0f09a3de5daba8184264542e7d4fed96208) as a sandbox to write and test your rule. AST makes it easy to find the correct selector for a given element. More guidance on selectors can be found under Eslint's [Selectors](https://eslint.org/docs/developer-guide/selectors) documentation. 2. Copy and paste the return state from your AST sandbox into the return statement of `lib/rules/.js`. 3. Update `meta.docs.category` to "Best Practices" and `meta.docs.recommended` to true. 4. Delete `meta.docs.schema`.