Giter VIP home page Giter VIP logo

Comments (8)

kaicataldo avatar kaicataldo commented on June 2, 2024

Curious how this could be achieved. Could we have a unique id number stashed with the localStorage cache that changes/increments with each release and bust the cache if it doesn't match?

from archive-website.

BYK avatar BYK commented on June 2, 2024

Can we use sessionStorage instead or use ESLint version as the namespace key?

from archive-website.

ilyavolodin avatar ilyavolodin commented on June 2, 2024

ESLint version as a key might be a good idea. That would make things easy, I think. sessionStorage wouldn't help, since the whole idea of the caching will be lost

from archive-website.

kaicataldo avatar kaicataldo commented on June 2, 2024

Yeah, I like that idea too! Might try to take a look at this later tonight

from archive-website.

kaicataldo avatar kaicataldo commented on June 2, 2024

I'm still not entirely clear on how the ESLint version gets updated for the site - is it a manual thing? Or is it pulled in somewhere and updated programmatically?

from archive-website.

xjamundx avatar xjamundx commented on June 2, 2024

I'm looking at that for #195. I think you have to run npm run browserify or make browserify or something from the main eslint repo. A bit of magic for sure. I believe there may some sort of automated way the site gets updated. @ilyavolodin will know for sure :)

from archive-website.

mysticatea avatar mysticatea commented on June 2, 2024

I hope "turn all rules off" button.

I'm using the demo after I turned all rules off.
I'm afraid that I must do that on every release...

from archive-website.

ilyavolodin avatar ilyavolodin commented on June 2, 2024

ESLint version gets updated from the main repository by running npm run browserify (or rather by running npm run minor/major/patch which will run npm run gensite which will run browserify task). npm run gensite will automatically update the site, but it will also pull all of the documentation from main repository, so not something you want to do when you just want to update demo page.

from archive-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.