diff --git a/README.md b/README.md index 4dac7539..a180cf85 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ This config will be interpreted in the following way: | [a11y-no-generic-link-text](docs/rules/a11y-no-generic-link-text.md) | disallow generic link text | | | ❌ | | [a11y-no-title-attribute](docs/rules/a11y-no-title-attribute.md) | Guards against developers using the title attribute | ⚛️ | | | | [a11y-no-visually-hidden-interactive-element](docs/rules/a11y-no-visually-hidden-interactive-element.md) | Ensures that interactive elements are not visually hidden | ⚛️ | | | -| [a11y-role-supports-aria-props](docs/rules/a11y-role-supports-aria-props.md) | Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ | | | +| [a11y-role-supports-aria-props](docs/rules/a11y-role-supports-aria-props.md) | Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ | | | | [a11y-svg-has-accessible-name](docs/rules/a11y-svg-has-accessible-name.md) | SVGs must have an accessible name | ⚛️ | | | | [array-foreach](docs/rules/array-foreach.md) | enforce `for..of` loops over `Array.forEach` | ✅ | | | | [async-currenttarget](docs/rules/async-currenttarget.md) | disallow `event.currentTarget` calls inside of async functions | 🔍 | | | diff --git a/package.json b/package.json index d5cb6cc0..cc053832 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lint:eslint-docs": "npm run update:eslint-docs -- --check", "lint:js": "eslint .", "pretest": "mkdir -p node_modules/ && ln -fs $(pwd) node_modules/", - "test": "mocha tests/**/*.js tests/", + "test": "npm run eslint-check && npm run lint && mocha tests/**/*.js tests/", "update:eslint-docs": "eslint-doc-generator" }, "repository": {