Giter Club home page Giter Club logo

Comments (5)

nileger avatar nileger commented on August 16, 2024 1

Hi @sjimenez77, I'm still interested in contributing. Don't hesitate to assign this issue to me.

from devon4ts.

nileger avatar nileger commented on August 16, 2024 1

Hi @sjimenez77,

Reproduction

I could reproduce the problem. If @typescript-eslint/eslint-plugin and @typescript-eslint/parser versions are increased from 2.22.0 to 4.22.0, an error occurs telling that @typescript-eslint/interface-name-prefix is an unknown rule, and invalidating all .js files at the same time.

Now, replacing @typescript-eslint/interface-name-prefix with what is recommended here, fixes the problem if version 4.22.0 for @typescript-eslint/eslint-plugin and @typescript-eslint/parser is used.

But switching back to version 2.22.0 showed that now, with the updated .eslintrc.js, the rule @typescript-eslint/eslint-plugin will invalidate all interfaces with the prefix "I" again, because this rule is enabled by default.

Conclusion

Replacing @typescript-eslint/interface-name-prefix would fix the problem for users that use the latest @typescript-eslint versions but at the same time, introduce problems to users who use the version 2.22.0.
So,

  • either we increase the version for @typescript-eslint and replace @typescript-eslint/interface-name-prefix
  • or we leave it as it is and users, who decide to increase their @typescript-eslint version, have to fix the problems themselves

from devon4ts.

nileger avatar nileger commented on August 16, 2024

Is this issue recognized and accepted by somebody from the community? If so, this is a great starting point for me to contribute to devon4node. So if it is accepted, please assign it to me.

from devon4ts.

sjimenez77 avatar sjimenez77 commented on August 16, 2024

Hi @NilsLeger, sorry for the very late reply. Unfortunately we have been focused more on other urgent issues during the last months, but we are working to recover some of the activities and devon4node maintenance and development is indeed an important part of our devonfw assets. It would be great if you are still interested on contributing via PRs.

Please, let us know and I will assign this issue to you then.

from devon4ts.

sjimenez77 avatar sjimenez77 commented on August 16, 2024

Ok, thanks @NilsLeger for the analysis. Let's then wait, since there is a planned big upgrade in the incoming weeks and we can leave this issue opened for the moment just to inform users that may face the same issue with current version. After upgrade we can close this.

from devon4ts.

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.