From f1eb7691f27b3972d97db4070a15c43c3ce9e374 Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:20:37 -0400 Subject: [PATCH] Rename rule to be prefixed with a11y --- ...-supports-aria-props.md => a11y-role-supports-aria-props.md} | 0 ...-supports-aria-props.js => a11y-role-supports-aria-props.js} | 0 ...-supports-aria-props.js => a11y-role-supports-aria-props.js} | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename docs/rules/{role-supports-aria-props.md => a11y-role-supports-aria-props.md} (100%) rename lib/rules/{role-supports-aria-props.js => a11y-role-supports-aria-props.js} (100%) rename tests/{role-supports-aria-props.js => a11y-role-supports-aria-props.js} (99%) diff --git a/docs/rules/role-supports-aria-props.md b/docs/rules/a11y-role-supports-aria-props.md similarity index 100% rename from docs/rules/role-supports-aria-props.md rename to docs/rules/a11y-role-supports-aria-props.md diff --git a/lib/rules/role-supports-aria-props.js b/lib/rules/a11y-role-supports-aria-props.js similarity index 100% rename from lib/rules/role-supports-aria-props.js rename to lib/rules/a11y-role-supports-aria-props.js diff --git a/tests/role-supports-aria-props.js b/tests/a11y-role-supports-aria-props.js similarity index 99% rename from tests/role-supports-aria-props.js rename to tests/a11y-role-supports-aria-props.js index 0192b96d..ca4ef1ac 100644 --- a/tests/role-supports-aria-props.js +++ b/tests/a11y-role-supports-aria-props.js @@ -10,7 +10,7 @@ // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -const rule = require('../lib/rules/role-supports-aria-props') +const rule = require('../lib/rules/a11y-role-supports-aria-props') const RuleTester = require('eslint').RuleTester const ruleTester = new RuleTester({