mikestreety,
@mikestreety@hachyderm.io avatar

We've had an internal linter for years, which is built on a PHP #symphony framework.

You run the linter you want and append --fix if you want it to resolve issues (if it can)

It lints things like #JS, #SCSS as well as #PHP (via #Rector and #phpstan), #Composer files and even #TYPO3 TypoScript files - all by using the open source libraries available.

It means all our developers can adhere to central linting conventions without having to update local config files.

mikestreety,
@mikestreety@hachyderm.io avatar

I've just managed to work out how to package each sperate linter into its own Docker container, so that each stage on a pipeline can run just that linter and not have to download the whole lot.

Linter configurations are odd things as I feel like I should open source it, but can't imagine anyone else would benefit as it's very niche to us

lil5,
@lil5@fosstodon.org avatar

@mikestreety I fear there are tons of web agencies that have a tool like that running in there standard CI

Instead ask around next conference you go to

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming
  • DreamBathrooms
  • magazineikmin
  • InstantRegret
  • Durango
  • osvaldo12
  • rosin
  • Youngstown
  • slotface
  • khanakhh
  • tacticalgear
  • kavyap
  • ethstaker
  • thenastyranch
  • ngwrru68w68
  • provamag3
  • everett
  • cubers
  • GTA5RPClips
  • love
  • modclub
  • cisconetworking
  • mdbf
  • normalnudes
  • tester
  • Leos
  • anitta
  • megavids
  • JUstTest
  • All magazines