Upgrade linguist dependency
This version changes how it counts python heredoc. All heredoc is counted as code.
This commit is contained in:
parent
a44b61d961
commit
b29bf7b05a
32 changed files with 410 additions and 339 deletions
16
node_modules/github-linguist/dist/languages.d.ts
generated
vendored
16
node_modules/github-linguist/dist/languages.d.ts
generated
vendored
|
|
@ -1,4 +1,10 @@
|
|||
export interface DetectorOptions {
|
||||
export interface Regexes {
|
||||
singleLineComment: RegExp;
|
||||
multiLineCommentOpen?: RegExp;
|
||||
multiLineCommentOpenStart?: RegExp;
|
||||
multiLineCommentClose?: RegExp;
|
||||
multiLineCommentCloseEnd?: RegExp;
|
||||
multiLineCommentOpenAndClose?: RegExp;
|
||||
}
|
||||
/**
|
||||
* detecte program language through file extension
|
||||
|
|
@ -37,11 +43,3 @@ export declare class Languages {
|
|||
*/
|
||||
getType(path: string): string;
|
||||
}
|
||||
export interface Regexes {
|
||||
singleLineComment: RegExp;
|
||||
multiLineCommentOpen: RegExp;
|
||||
multiLineCommentOpenStart: RegExp;
|
||||
multiLineCommentClose: RegExp;
|
||||
multiLineCommentCloseEnd: RegExp;
|
||||
multiLineCommentOpenAndClose: RegExp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue