diff options
author | Valentin Popov <info@valentineus.link> | 2020-06-18 10:01:17 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-06-18 10:01:17 +0300 |
commit | 095a31c8fb4575dd1b02d4c10a188368398e0749 (patch) | |
tree | f7b6dc1f01d309e5ddb751201aea3abcc90b485d /src/react-javascript.ts | |
parent | a7aeded00994c56e4a6f24f53944b159be3a253d (diff) | |
download | eslint-config-095a31c8fb4575dd1b02d4c10a188368398e0749.tar.xz eslint-config-095a31c8fb4575dd1b02d4c10a188368398e0749.zip |
Added jsx-a11y plugin
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/react-javascript.ts')
-rw-r--r-- | src/react-javascript.ts | 15 |
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, + }, +}; |