Closed smsmsmmm closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
my-precious-time | ❌ Failed (Inspect) | Feb 17, 2024 3:36am |
Closed it on accident - whoops!
Working-ish, but colors are grey or the original.
Also added some eslint setup.
Steps to replicate:
Run
npm init @eslint/config
in your project folder.
Then
? How would you like to use ESLint? … To check syntax only To check syntax and find problems ❯ To check syntax, find problems, and enforce code style
(Select the syntax, problems, and style option)
What type of modules does your project use? … JavaScript modules (import/export) ❯ CommonJS (require/exports) None of these
(I selected CommonJS)
? Which framework does your project use? … ❯ React Vue.js None of these
(I chose React)
? Does your project use TypeScript? › No / Yes
(I chose No)
? Where does your code run? … (Press <space> to select, <a> to toggle all, <i> to invert selection) ✔ Browser Node
(I chose Browser)
✔ How would you like to define a style for your project? … ❯ Use a popular style guide Answer questions about your style Inspect your JavaScript file(s)
(I chose popular guide, then I chose Google)
? What format do you want your config file to be in? … JavaScript YAML ❯ JSON
(I chose JSON)
https://www.digitalocean.com/community/tutorials/linting-and-formatting-with-eslint-in-vs-code Is where I got most of this info.
Adding what I have so far.