@@ -43,6 +43,10 @@ overrides:
43
43
# https://coder.com/docs/v2/latest/contributing/frontend#tests-getting-too-slow.
44
44
testing-library/no-node-access : off
45
45
testing-library/no-container : off
46
+ - files : ["e2e/**/*.[tj]s"]
47
+ extends : ["plugin:testing-library/react", "plugin:testing-library/dom"]
48
+ rules :
49
+ testing-library/prefer-screen-queries : " off"
46
50
root : true
47
51
rules :
48
52
" @typescript-eslint/brace-style " :
@@ -107,20 +111,16 @@ rules:
107
111
- error
108
112
- paths :
109
113
- name : " @material-ui/core"
110
- message :
111
- " Use path imports to avoid pulling in unused modules. See:
114
+ message : " Use path imports to avoid pulling in unused modules. See:
112
115
https://material-ui.com/guides/minimizing-bundle-size/"
113
116
- name : " @material-ui/icons"
114
- message :
115
- " Use path imports to avoid pulling in unused modules. See:
117
+ message : " Use path imports to avoid pulling in unused modules. See:
116
118
https://material-ui.com/guides/minimizing-bundle-size/"
117
119
- name : " @material-ui/styles"
118
- message :
119
- " Use path imports to avoid pulling in unused modules. See:
120
+ message : " Use path imports to avoid pulling in unused modules. See:
120
121
https://material-ui.com/guides/minimizing-bundle-size/"
121
122
- name : " @material-ui/core/Avatar"
122
- message :
123
- " You should use the Avatar component provided on
123
+ message : " You should use the Avatar component provided on
124
124
components/Avatar/Avatar"
125
125
no-unused-vars : " off"
126
126
" object-curly-spacing " : " off"
@@ -156,7 +156,6 @@ rules:
156
156
message : " Default React import not allowed" ,
157
157
},
158
158
]
159
-
160
159
settings :
161
160
react :
162
161
version : detect
0 commit comments