From 8530921807ac6f970a18035c411ca79df4d1d18b Mon Sep 17 00:00:00 2001 From: Bill Collins Date: Fri, 23 May 2025 11:39:03 +0100 Subject: [PATCH] Update imports in readme.md Signed-off-by: Bill Collins --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6217427..1e3bddd 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ Add `plugin:jsx-a11y-x/recommended` or `plugin:jsx-a11y-x/strict` in `extends`: The default export of `eslint-plugin-jsx-a11y-x` is a plugin object. ```js -const jsxA11yX = require('eslint-plugin-jsx-a11y'); +const jsxA11yX = require('eslint-plugin-jsx-a11y-x'); module.exports = [ // … @@ -143,7 +143,7 @@ There are two shareable configs, provided by the plugin. #### CJS ```js -const jsxA11yX = require('eslint-plugin-jsx-a11y'); +const jsxA11yX = require('eslint-plugin-jsx-a11y-x'); export default [ jsxA11yX.flatConfigs.recommended, @@ -156,7 +156,7 @@ export default [ #### ESM ```js -import jsxA11yX from 'eslint-plugin-jsx-a11y'; +import jsxA11yX from 'eslint-plugin-jsx-a11y-x'; export default [ jsxA11yX.flatConfigs.recommended, @@ -170,7 +170,7 @@ export default [ For most of the cases, you probably want to configure some of these properties yourself. ```js -const jsxA11yX = require('eslint-plugin-jsx-a11y'); +const jsxA11yX = require('eslint-plugin-jsx-a11y-x'); const globals = require('globals'); module.exports = [