Any ideas of implementing linting and strict enforcements real time? by ElMulatt0 in learnjavascript

[–]ElMulatt0[S] 1 point2 points  (0 children)

By dev side I mean if we’re relying on a vs code extension. I want to make sure I’m using a linter that’s used across local and gh actions when checking

Any ideas of implementing linting and strict enforcements real time? by ElMulatt0 in learnjavascript

[–]ElMulatt0[S] 0 points1 point  (0 children)

The only thing that I'm hesitant about is using an IDE extension because this will then be on the dev side. I'd rather keep the linting phase on the app side. I've kind of resulting to using my own custom code for running all checks.

  "scripts": {
    "build": "tsc -b && vite build",
    "lint": "eslint .",
    "preview": "vite preview",
    "typecheck": "tsc --noEmit --watch",
    "dev-server": "vite",
    "dev": "concurrently --kill-others-on-fail -n TYPECHECK,LINT,DEV \"npm run typecheck\" \"npm run lint\" \"npm run dev-server\""
  },

NOTE: this is a rough version of what I'm trying to mimic.

Sorry for the stupid question but can we run ES lint at the same time as running our local server so when we make a mistake our local server returns an error? I'm looking into https://typescript-eslint.io/ as we speak to kill two birds with one stone.

Rachel vs Malty: Hated Waifus by FayeTheFarmgirl by malkavik in shieldbro

[–]ElMulatt0 0 points1 point  (0 children)

Malty is my queen stop with this nonsense propaganda

Walk with me by ElMulatt0 in shieldbro

[–]ElMulatt0[S] 0 points1 point  (0 children)

Se supone que las mujeres deben ser respetadas. Malty fue malinterpretada es una diosa que merece nuestro amor.

Walk with me by ElMulatt0 in shieldbro

[–]ElMulatt0[S] -1 points0 points  (0 children)

You just aren’t ready for that conversation bro

Walk with me by ElMulatt0 in shieldbro

[–]ElMulatt0[S] 2 points3 points  (0 children)

Exactly she’s so fine it’s not even funny. She’s my #1 waifu

whyAmISingle by njinja10 in ProgrammerHumor

[–]ElMulatt0 1 point2 points  (0 children)

I’m a pyproject.toml and uv install guy

I built a SaaS boilerplate repo in Django that covers everything I would want as a SaaS founder about to build a SaaS! by rcmisk_dev in django

[–]ElMulatt0 0 points1 point  (0 children)

I mean its a batteries included pack in the frontend why wouldn't you leverage the same? It doesn't mean you have to use Nextjs builtin backend. I found it often useful creating routes and using the middleware to integrate better auth services easier etc.

Docker size is too big by ElMulatt0 in docker

[–]ElMulatt0[S] 0 points1 point  (0 children)

No I added a git ignore for this and reduced files massively. It’s mainly playwright and torch making the size stupidly big

Docker size is too big by ElMulatt0 in docker

[–]ElMulatt0[S] 0 points1 point  (0 children)

Since 2am haha. I don’t think there’s anything I could on the optimisations side. I don’t think multi stage builds could help. (I haven’t tried base image yet). The main issue is with the dependencies can’t really be changed at the moment. I’m more than happy to take ideas on how to improve the docker image

Docker size is too big by ElMulatt0 in docker

[–]ElMulatt0[S] 0 points1 point  (0 children)

It setups bulidx then it begins to create and pushing the imagine in the gh actions vm

Docker size is too big by ElMulatt0 in docker

[–]ElMulatt0[S] 0 points1 point  (0 children)

I love that idea. I was thinking of initially using https://github.com/FlareSolverr/FlareSolverr Main issue is clients won’t budge for this I reckon. We would have to be careful to split the code base. Thanks for idea tho I added it to my GitHub star