File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,15 @@ function assertPathIsInDefinitelyTyped(dirPath: string): void {
234234 }
235235}
236236
237+ /**
238+ * Starting at some point in time, npm has banned all new packages whose names
239+ * contain the word `download`. However, some older packages exist that still
240+ * contain this name.
241+ * @NOTE for contributors: The list below list should ONLY be extended with
242+ * packages for which there already exists a corresponding type definition
243+ * package in the `@types` scope. More information:
244+ * https://github.com/microsoft/dtslint/pull/351.
245+ */
237246function assertPathIsNotBanned ( dirPath : string ) {
238247 const basedir = basename ( dirPath ) ;
239248 if ( / ( ^ | \W ) d o w n l o a d ( $ | \W ) / . test ( basedir ) &&
You can’t perform that action at this time.
0 commit comments