This repository was archived by the owner on Jan 26, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,18 @@ module.exports = {
149
149
baseConfig : {
150
150
extends : [ require . resolve ( 'eslint-config-react-app' ) ] ,
151
151
parser : 'typescript-eslint-parser' ,
152
+ overrides : [
153
+ {
154
+ files : [ '*.ts' , '*.tsx' ] ,
155
+ rules : {
156
+ 'no-array-constructor' : 'off' ,
157
+ 'no-multi-str' : 'off' ,
158
+ 'no-restricted-globals' : 'off' ,
159
+ 'no-undef' : 'off' ,
160
+ 'no-unused-vars' : 'off' ,
161
+ } ,
162
+ } ,
163
+ ] ,
152
164
} ,
153
165
// @remove -on-eject-begin
154
166
ignore : false ,
Original file line number Diff line number Diff line change @@ -158,6 +158,18 @@ module.exports = {
158
158
baseConfig : {
159
159
extends : [ require . resolve ( 'eslint-config-react-app' ) ] ,
160
160
parser : 'typescript-eslint-parser' ,
161
+ overrides : [
162
+ {
163
+ files : [ '*.ts' , '*.tsx' ] ,
164
+ rules : {
165
+ 'no-array-constructor' : 'off' ,
166
+ 'no-multi-str' : 'off' ,
167
+ 'no-restricted-globals' : 'off' ,
168
+ 'no-undef' : 'off' ,
169
+ 'no-unused-vars' : 'off' ,
170
+ } ,
171
+ } ,
172
+ ] ,
161
173
} ,
162
174
// @remove -on-eject-begin
163
175
ignore : false ,
You can’t perform that action at this time.
0 commit comments