Added jsx-a11y plugin

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-06-18 11:01:17 +04:00
parent a7aeded009
commit 095a31c8fb
6 changed files with 136 additions and 0 deletions

15
src/react-javascript.ts Normal file
View File

@ -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,
},
};

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}