aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 @@
+{}