batch-change-examples icon indicating copy to clipboard operation
batch-change-examples copied to clipboard

Add linter examples

Open malomarrec opened this issue 4 years ago • 2 comments

Add linter examples for:

  • [ ] go
  • [ ] python
  • [x] javascript (Eslint)
  • [ ] C#
  • [ ] C / C++
  • [ ] Java
  • [ ] Ruby
  • [ ] Scala in a linter folders

malomarrec avatar May 17 '21 10:05 malomarrec

@malomarrec just a note: most linters only report errors, they don't actually change or rewrite code. So running linters in a batch change might not make sense for all linters.

mrnugget avatar May 27 '21 09:05 mrnugget

I was thinking of this in the line of: le'ts take eslint (--fix) and tflint, and run them (and assumed we could find linters with the equivalent of the --fix command in most languages). But if we don't find a linter that create fixes for a language we should definitely ignore it.

malomarrec avatar May 27 '21 11:05 malomarrec