JS: Update LinesOfCode.ql to match the style from C++

This commit is contained in:
Asger Feldthaus
2021-03-19 16:42:05 +00:00
parent 6ca425f033
commit 0c0556bb38

View File

@@ -1,8 +1,9 @@
/**
* @name Total lines of code
* @description The total number of lines of code across all source files.
* @id js/summary/lines-of-code
* @name Total lines of JavaScript and TypeScript code in the database
* @description The total number of lines of JavaScript or TypeScript code across all files checked into the repository, except in `node_modules`. This is a useful metric of the size of a database. For all files that were seen during extraction, this query counts the lines of code, excluding whitespace or comments.
* @kind metric
* @id js/metrics/lines-of-code
* @tags summary
*/
import javascript