aboutsummaryrefslogtreecommitdiff
path: root/src/react-javascript.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/react-javascript.ts')
-rw-r--r--src/react-javascript.ts15
1 files changed, 15 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,
+ },
+};