summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-18 10:21:47 +0300
committerValentin Popov <info@valentineus.link>2020-06-18 10:21:47 +0300
commit75ab45106f569f58038c5241d1aee6717c720ba1 (patch)
tree22cb1b28640b083f134ba154b3fda7aa904c90f0 /README.md
parente66c5dd2335131c0a96d66bbb401b541ff29672e (diff)
downloadeslint-config-75ab45106f569f58038c5241d1aee6717c720ba1.tar.xz
eslint-config-75ab45106f569f58038c5241d1aee6717c720ba1.zip
Added react configs
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'README.md')
-rw-r--r--README.md36
1 files changed, 28 insertions, 8 deletions
diff --git a/README.md b/README.md
index 2eec63c..84bb792 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,8 @@
* `javascript`
* `typescript`
+* `react-javascript`
+* `react-typescript`
* `vue-javascript`
* `vue-typescript`
@@ -27,16 +29,34 @@
* Install dependencies:
```shell script
-npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser \
- @valentineus/eslint-config eslint eslint-plugin-eslint-comments \
- eslint-plugin-import eslint-plugin-security eslint-plugin-sonarjs \
- eslint-plugin-unicorn eslint-plugin-vue
+npm install --save-dev @typescript-eslint/eslint-plugin \
+ @typescript-eslint/parser \
+ @valentineus/eslint-config \
+ eslint \
+ eslint-plugin-eslint-comments \
+ eslint-plugin-import \
+ eslint-plugin-jsx-a11y \
+ eslint-plugin-react \
+ eslint-plugin-react-hooks \
+ eslint-plugin-security \
+ eslint-plugin-sonarjs \
+ eslint-plugin-unicorn \
+ eslint-plugin-vue
# or
-yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser \
- @valentineus/eslint-config eslint eslint-plugin-eslint-comments \
- eslint-plugin-import eslint-plugin-security eslint-plugin-sonarjs \
- eslint-plugin-unicorn eslint-plugin-vue
+yarn add --dev @typescript-eslint/eslint-plugin \
+ @typescript-eslint/parser \
+ @valentineus/eslint-config \
+ eslint \
+ eslint-plugin-eslint-comments \
+ eslint-plugin-import \
+ eslint-plugin-jsx-a11y \
+ eslint-plugin-react \
+ eslint-plugin-react-hooks \
+ eslint-plugin-security \
+ eslint-plugin-sonarjs \
+ eslint-plugin-unicorn \
+ eslint-plugin-vue
```
* Create config file: