Coder Social home page Coder Social logo

Comments (8)

gabro avatar gabro commented on August 25, 2024 1

On a second thought, I have a different proposal.

Changes to recommended rules are clearly marked as breaking in eslint releases.

How about we fix to a specific version of eslint (e.g. 2.4) and when we manually update it, we check for breaking changes (as we should do anyway)?

from eslint-config.

gabro avatar gabro commented on August 25, 2024

Is this still actual?

from eslint-config.

FrancescoCioria avatar FrancescoCioria commented on August 25, 2024

I actually think we should do the opposite: we're relying on eslint:recommend for rules we find useful. Unfortunately they're not simply adding rules to the recommended group, sometimes they're removing some from it or editing them (ex: eslint/eslint@79ebbc9)
I think it would be safer and more stable to repeat the rules we're 100% sure we want wether or not they're recommended (we can still keep eslint:recommended as an integration)

from eslint-config.

gabro avatar gabro commented on August 25, 2024

I agree. If the set of rules is not stable and not under our control, let's just copy them over and be done with it.

from eslint-config.

giogonzo avatar giogonzo commented on August 25, 2024

always in favor of pinning versions 👍

from eslint-config.

gabro avatar gabro commented on August 25, 2024

I took a look at this, and it looks like eslint is not introducing breaking changes on minor releases, so I think our peer dependency on ^2.4.0 is already good enough.

Thoughts @buildo/frontend?

from eslint-config.

FrancescoCioria avatar FrancescoCioria commented on August 25, 2024

How about we fix to a specific version of eslint (e.g. 2.4) and when we manually update it, we check for breaking changes (as we should do anyway)?

I agree... but let's remember to check! :)

from eslint-config.

gabro avatar gabro commented on August 25, 2024

Ok. Nothing do do here. :)

from eslint-config.

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.