OpenINF / openinf.github.io

⚡🐋 The OpenINF portal, other static resources, and more static electricity
https://open.inf.is
5 stars 3 forks source link

🏗🔧:migrate to eslint 9 #1255

Closed DerekNonGeneric closed 5 months ago

DerekNonGeneric commented 5 months ago

kicking off the initial migration here

netlify[bot] commented 5 months ago

Deploy Preview for openinfis ready!

Name Link
Latest commit 007e5d231fd22c729218b0614d500e23bb55fe4d
Latest deploy log https://app.netlify.com/sites/openinfis/deploys/66130ce63d4e3200082a96b1
Deploy Preview https://deploy-preview-1255--openinfis.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

socket-security[bot] commented 5 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/eslint-config-biome@1.5.3 None 0 19 kB srbrahma

🚮 Removed packages: npm/eslint-config-prettier@9.1.0, npm/eslint-plugin-prettier@5.1.3

View full report↗︎

DerekNonGeneric commented 5 months ago

well, let's get this biome migration done while we are at it then

:link: https://github.com/SrBrahma/eslint-config-biome

socket-security[bot] commented 5 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/@biomejs/biome@1.6.4
  • Install script: postinstall
  • Source: node scripts/postinstall.js
  • orphan: npm/@biomejs/biome@1.6.4

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/@biomejs/biome@1.6.4
DerekNonGeneric commented 5 months ago

we should probably land as-is and wrap up in our new repo; there’s still quite a bit left to do here