File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ module.exports = {
2
2
extends : [
3
3
'plugin:@typescript-eslint/recommended' ,
4
4
'airbnb' ,
5
- 'plugin:prettier/recommended'
5
+ 'plugin:prettier/recommended' ,
6
+ 'plugin:react-hooks/recommended'
6
7
] ,
7
8
parser : '@typescript-eslint/parser' ,
8
9
plugins : [ 'react' , 'prettier' ] ,
@@ -32,6 +33,7 @@ module.exports = {
32
33
'import/prefer-default-export' : 'off' ,
33
34
'jsx-a11y/label-has-associated-control' : [ 'error' , { assert : 'either' } ] ,
34
35
'jsx-a11y/label-has-for' : 'off' ,
36
+ 'no-nested-ternary' : 'off' ,
35
37
'prettier/prettier' : 'error' ,
36
38
'react/forbid-prop-types' : 'off' ,
37
39
'react/jsx-filename-extension' : [
Original file line number Diff line number Diff line change 86
86
"eslint-plugin-jsx-a11y" : " ^6.6.0" ,
87
87
"eslint-plugin-prettier" : " ^4.2.1" ,
88
88
"eslint-plugin-react" : " ^7.30.1" ,
89
+ "eslint-plugin-react-hooks" : " ^4.6.0" ,
89
90
"firebase-tools" : " ^11.3.0" ,
90
91
"husky" : " ^8.0.1" ,
91
92
"jest" : " ^28.1.3" ,
Original file line number Diff line number Diff line change 1
- /* eslint-disable no-nested-ternary */
2
-
3
1
import React , { forwardRef } from 'react' ;
4
2
import styled , { css } from 'styled-components' ;
5
3
import {
Original file line number Diff line number Diff line change @@ -7173,6 +7173,11 @@ eslint-plugin-prettier@^4.2.1:
7173
7173
dependencies:
7174
7174
prettier-linter-helpers "^1.0.0"
7175
7175
7176
+ eslint-plugin-react-hooks@^4.6.0:
7177
+ version "4.6.0"
7178
+ resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3"
7179
+ integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==
7180
+
7176
7181
eslint-plugin-react@^7.30.1:
7177
7182
version "7.30.1"
7178
7183
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.30.1.tgz#2be4ab23ce09b5949c6631413ba64b2810fd3e22"
You can’t perform that action at this time.
0 commit comments