@@ -613,9 +613,13 @@ const base = {
613613  'unicorn/no-thenable' : ERROR , 
614614  // disallow comparing `undefined` using `typeof` when it's not required 
615615  'unicorn/no-typeof-undefined' : ERROR , 
616+   // disallow using 1 as the depth argument of `Array#flat()` 
617+   'unicorn/no-unnecessary-array-flat-depth' : ERROR , 
618+   // disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{ splice, toSpliced }()` 
619+   'unicorn/no-unnecessary-array-splice-count' : ERROR , 
616620  // disallow awaiting non-promise values 
617621  'unicorn/no-unnecessary-await' : ERROR , 
618-   // disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount`  argument of `Array#{splice,toSpliced}()  
622+   // disallow using `.length` or `Infinity` as the end  argument of `{ Array, String, %TypedArray% }#slice()`  
619623  'unicorn/no-unnecessary-slice-end' : ERROR , 
620624  // disallow unreadable array destructuring 
621625  'unicorn/no-unreadable-array-destructuring' : ERROR , 
@@ -1971,6 +1975,8 @@ const packagesPackageJSON = {
19711975  'package-json/repository-shorthand' : [ ERROR ,  {  form : 'object'  } ] , 
19721976  // requires the `author` property to be present 
19731977  'package-json/require-author' : ERROR , 
1978+   // requires the `description` property to be present 
1979+   'package-json/require-description' : ERROR , 
19741980  // requires the `engines` property to be present 
19751981  // TODO: core-js@4 
19761982  // 'package-json/require-engines': ERROR, 
0 commit comments