benjaminhoffman / gatsby-plugin-segment-js

Gatsby plugin for segment.com's analytic.js snippet
https://www.npmjs.com/package/gatsby-plugin-segment-js
MIT License
40 stars 28 forks source link

linting and formatting #36

Closed TomPridham closed 3 years ago

TomPridham commented 4 years ago

i'd like to bring in linting and formatting libraries. do you have a preference?

i'm thinking either https://standardjs.com/ or the one i use at work https://github.com/pdq/eslint-plugin-pdq with prettier. i don't care too much either way. i would just like some tool to catch those small things

benjaminhoffman commented 4 years ago

great idea. +1 on prettier too.

i like the former. standardJS. not too opinionated here either so whatever you prefer.

newhouse commented 3 years ago

I think this is now closed via https://github.com/benjaminhoffman/gatsby-plugin-segment-js/pull/41

I also don't have a strong preference on which style...but it's a nice start.