flosse / sloc

simple tool to count SLOC (source lines of code)
MIT License
943 stars 84 forks source link

Setup Mega-Linter Github Action #120

Closed nvuillam closed 3 years ago

nvuillam commented 3 years ago

I needed a coffeescript repo to validate Mega-Linter coffeescript compliance :)

I recently added sloc to one of my repos so it seemed a good candidate ^^

Once I succeed (or not) to verify Mega-Linter is ok, you can decide if you want to keep it here or not , as u prefer :)

You can check Mega-Linter reports:

If you want to auto-apply fixes during CI, you may need to define a PAT in secrets

I suggest "Squash & merge" option for this PR :)

nvuillam commented 3 years ago

now ready :)

flosse commented 3 years ago

Thank for you PR. What is .cspell.json for?

nvuillam commented 3 years ago

It is the config file for cSpell linter : https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell

( that's the linter that allowed me to detect typos ) It requires words not in their dictionaries, like family names, to be defined in local config file.

I can also disable it if you think it is too much ^^

flosse commented 3 years ago

thx!

nvuillam commented 3 years ago

you're welcome 👍 by the way your dependency status badge seems down ^^