From 095a31c8fb4575dd1b02d4c10a188368398e0749 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 18 Jun 2020 11:01:17 +0400 Subject: Added jsx-a11y plugin Signed-off-by: Valentin Popov --- src/react-javascript.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/react-javascript.ts (limited to 'src/react-javascript.ts') diff --git a/src/react-javascript.ts b/src/react-javascript.ts new file mode 100644 index 0000000..813e859 --- /dev/null +++ b/src/react-javascript.ts @@ -0,0 +1,15 @@ +import rJsxA11y from "./rules/jsx-a11y/default.json"; +import rDefault from "./rules/react/default.json"; + +module.exports = { + "extends": [ + "./javascript", + ], + "plugins": [ + "jsx-a11y", + ], + "rules": { + ...rDefault, + ...rJsxA11y, + }, +}; -- cgit v1.2.3