File tree Expand file tree Collapse file tree 3 files changed +27
-12
lines changed Expand file tree Collapse file tree 3 files changed +27
-12
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,23 @@ async function run(console, runOptions) {
235
235
console . error ( "\t * " + first + rest . join ( "\n\t * " ) )
236
236
}
237
237
238
- console . error ( "Ignoring the following rules that rely on module resolution:" )
239
- printList ( patch . disabledRules ( ) )
238
+ const ignoredRules = patch . disabledRules ( ) . filter ( function ( rule ) { return ! rule } ) ;
239
+ if ( ignoredRules . length > 0 ) {
240
+ console . error ( "Ignoring the following rules that rely on module resolution:" ) ;
241
+ printList ( ignoredRules ) ;
242
+ }
240
243
241
- console . error ( "Ignoring the following settings that rely on module resolution:" )
242
- printList ( patch . removedSettings ( ) )
244
+ const removedSettings = patch . removedSettings ( ) . filter ( function ( module ) { return ! module } ) ;
245
+ if ( removedSettings . length > 0 ) {
246
+ console . error ( "Ignoring the following settings that rely on module resolution:" )
247
+ printList ( removedSettings ) ;
248
+ }
243
249
244
- console . error ( "Skipped modules" )
245
- printList ( patch . skippedModules ( ) )
250
+ const skippedModules = patch . skippedModules ( ) . filter ( function ( module ) { return ! module } ) ;
251
+ if ( skippedModules . length > 0 ) {
252
+ console . error ( "Skipping the following modules that rely on module resolution:" )
253
+ printList ( skippedModules ) ;
254
+ }
246
255
247
256
if ( debug ) {
248
257
console . error ( "Loaded modules" )
Original file line number Diff line number Diff line change 73
73
"eslint-plugin-es5" : " ^1.2.0" ,
74
74
"eslint-plugin-eslint-comments" : " ^3.1.1" ,
75
75
"eslint-plugin-filenames" : " ^1.3.2" ,
76
- "eslint-plugin-flowtype" : " ^3.9.1 " ,
76
+ "eslint-plugin-flowtype" : " ^8.0.3 " ,
77
77
"eslint-plugin-formatjs" : " ^2.17.9" ,
78
78
"eslint-plugin-html" : " ^4.0.6" ,
79
79
"eslint-plugin-import" : " ^2.17.3" ,
Original file line number Diff line number Diff line change 4073
4073
dependencies :
4074
4074
lodash "^4.15.0"
4075
4075
4076
- eslint-plugin-flowtype@^3.9.1 :
4077
- version "3.13.0 "
4078
- resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-3.13.0. tgz#e241ebd39c0ce519345a3f074ec1ebde4cf80f2c "
4079
- integrity sha512-bhewp36P+t7cEV0b6OdmoRWJCBYRiHFlqPZAG1oS3SF+Y0LQkeDvFSM4oxoxvczD1OdONCXMlJfQFiWLcV9urw ==
4076
+ eslint-plugin-flowtype@^8.0.3 :
4077
+ version "8.0.3 "
4078
+ resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-8.0.3. tgz#e1557e37118f24734aa3122e7536a038d34a4912 "
4079
+ integrity sha512-dX8l6qUL6O+fYPtpNRideCFSpmWOUVx5QcaGLVqe/vlDiBSe4vYljDWDETwnyFzpl7By/WVIu6rcrniCgH9BqQ ==
4080
4080
dependencies :
4081
- lodash "^4.17.15"
4081
+ lodash "^4.17.21"
4082
+ string-natural-compare "^3.0.1"
4082
4083
4083
4084
eslint-plugin-formatjs@^2.17.9 :
4084
4085
version "2.21.0"
7976
7977
resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b"
7977
7978
integrity sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs=
7978
7979
7980
+ string-natural-compare@^3.0.1 :
7981
+ version "3.0.1"
7982
+ resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4"
7983
+ integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==
7984
+
7979
7985
string-width@^1.0.1 :
7980
7986
version "1.0.2"
7981
7987
resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
You can’t perform that action at this time.
0 commit comments