tokei
tokei copied to clipboard
Incorrectly counts the number of lines of code in the Vue.js project
❯ tokei --version
tokei 12.1.2 compiled with serialization support: json, cbor, yaml
❯ tokei ./src
===============================================================================
Language Files Lines Code Comments Blanks
===============================================================================
CSS 1 20 17 0 3
JavaScript 15 112 94 6 12
-------------------------------------------------------------------------------
Vue 5 36 27 0 9
|- CSS 3 25 22 3 0
|- HTML 3 32 32 0 0
|- JavaScript 5 71 65 3 3
|- PostCSS 1 12 12 0 0
|- Pug 1 1 1 0 0
(Total) 177 159 6 12
===============================================================================
Total 21 168 138 6 24
===============================================================================
❯ tokei ./src/views/Home.vue
===============================================================================
Language Files Lines Code Comments Blanks
===============================================================================
Vue 1 8 6 0 2
|- CSS 1 17 17 0 0
|- HTML 1 20 20 0 0
|- JavaScript 1 42 37 3 2
(Total) 87 80 3 4
===============================================================================
Total 1 8 6 0 2
===============================================================================
I have the same problem.
Thank you for your issue! Please check against the master as there have been fixes
Thank you for your issue! Please check against the master as there have been fixes
Is there any plan to publish a new release? The last release was on Jan 13, 2021.
Is there any plan to publish a new release?
See #911