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 +++++++++++++++ src/rules/jsx-a11y/default.json | 1 + src/rules/react/default.json | 1 + 3 files changed, 17 insertions(+) create mode 100644 src/react-javascript.ts create mode 100644 src/rules/jsx-a11y/default.json create mode 100644 src/rules/react/default.json (limited to 'src') 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, + }, +}; diff --git a/src/rules/jsx-a11y/default.json b/src/rules/jsx-a11y/default.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/src/rules/jsx-a11y/default.json @@ -0,0 +1 @@ +{} diff --git a/src/rules/react/default.json b/src/rules/react/default.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/src/rules/react/default.json @@ -0,0 +1 @@ +{} -- cgit v1.2.3