aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-18 10:01:17 +0300
committerValentin Popov <info@valentineus.link>2020-06-18 10:01:17 +0300
commit095a31c8fb4575dd1b02d4c10a188368398e0749 (patch)
treef7b6dc1f01d309e5ddb751201aea3abcc90b485d /src
parenta7aeded00994c56e4a6f24f53944b159be3a253d (diff)
downloadeslint-config-095a31c8fb4575dd1b02d4c10a188368398e0749.tar.xz
eslint-config-095a31c8fb4575dd1b02d4c10a188368398e0749.zip
Added jsx-a11y plugin
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/react-javascript.ts15
-rw-r--r--src/rules/jsx-a11y/default.json1
-rw-r--r--src/rules/react/default.json1
3 files changed, 17 insertions, 0 deletions
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 @@
+{}