processing / p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
https://editor.p5js.org
GNU Lesser General Public License v2.1
1.34k stars 1.29k forks source link

Update CSSLint to StyleLint #1373

Open hellonearthis opened 4 years ago

hellonearthis commented 4 years ago

I was trying to use css grids fr units and they didn't seem to work, gave me a red squiggly

Details about the bug:

The css I used was `html, body { height: 100%; margin: 0px; padding: 0;

display: grid; grid-template-columns: 1fr 1fr ; grid-gap: 10px; background-color: #f2f2f2; ` image

catarak commented 4 years ago

Thanks for reporting! My hunch is that csslint, the package that is doing the static analysis to check for errors in the CSS, needs to be updated. Going to try it out now!

catarak commented 4 years ago

So apparently this is an open issue with CSSLint :(, see CSSLint/csslint#734.

catarak commented 4 years ago

The JSFiddle maintainers found a solution but it's not clear what exactly the solution was, see https://github.com/jsfiddle/jsfiddle-issues/issues/1377.

catarak commented 4 years ago

It seems like the way to fix this is to move from CSSLint to StyleLint, see https://discuss.codemirror.net/t/promises-support-for-the-linter-add-on/1140/4 for reference on how to make StyleLint work with CodeMirror.

raclim commented 1 year ago

Hi everyone! It seems like this issue has been resolved, so I'm going to close it. Please feel free to reopen it or create a new one if it comes up again, thanks! 🙂