Giter Club home page Giter Club logo

Comments (10)

Nitin-TELUS avatar Nitin-TELUS commented on July 1, 2024

Hi @tinyroy, Thanks for reaching out, we'll take a look and update you ASAP.

from telus-standard.

afzal-telus avatar afzal-telus commented on July 1, 2024

Hi @tinyroy,
We’ve taken a look on this but reverting the changes is not possible because this package will not work with npx with baseConfig. As there was lots of security vulnerabilities before major release so we’ve updated most of the dependencies and configuration accordingly.
As this packages is using standard-engine so we’ve followed the document to resolve those error. Please let me know if there is any alternative option for this.
Thanks.

from telus-standard.

afzal-telus avatar afzal-telus commented on July 1, 2024

Hi @tinyroy ,
We’re looking for your suggestion here, as mentioned above reverting the changes is not possible.

from telus-standard.

Nitin-TELUS avatar Nitin-TELUS commented on July 1, 2024

Hi @tinyroy, As there is no update so we're closing this issue.

from telus-standard.

tinyroy avatar tinyroy commented on July 1, 2024

sorry, did not see this till now.

I've tested with baseConfig and it works with standard-engine. The entire eslintConfig object just gets passed to eslint.

from telus-standard.

Nitin-TELUS avatar Nitin-TELUS commented on July 1, 2024

Hi @tinyroy, We've tested and after the installation as dev dependency it's working as expected but when we use this as npx it'll unable to get the object. That was the main reason to update this object. It would be very helpful if you can give it a try with npx.

from telus-standard.

codyzu avatar codyzu commented on July 1, 2024

Hello, we are having the same problem with UDS and it's preventing us from upgrading to the latest version of telus-standard we have some custom config files, but they are no longer taking precedence over the built-in config and described by @tinyroy

@Nitin-TELUS what is the exact problem with npx, if I set my devDependency to @telus/[email protected] everything is fine, if I run npx @telus/telus-standard still runs fine. Once I upgrade to v3.0.2 both are broken due to our config having lower precedence over the built-in config 😢 .

We have custom config mostly due to making telus-standard work with the common practices around react-native.

from telus-standard.

Nitin-TELUS avatar Nitin-TELUS commented on July 1, 2024

Hi @codyzu,

The problem is with the configFile path available inside the config. https://github.com/telus/telus-standard/blob/master/options.js#L12.

We've tried all the scenarios to validate it, but it's not working with both (npx and custom config). This problem occurred once eslint introduced some breaking changes with v7. We've updated it because of lots of security vulnerabilities.

The only difference between v3.0.1 vs v3.0.2 is, first one will work with custom config and the second one with npx. Please let me know if you've any suggestions on this, we'll introduce to overcome this problem.

from telus-standard.

codyzu avatar codyzu commented on July 1, 2024

Thanks for your quick response.

  • Can you share the exact steps to reproduce the problem with npx. I can't reproduce the problem myself.
  • It is mentioned above that you followed the steps laid out in standard-engine, do you have a link to an issue there that describes the problem?

I hope we can find a good solution. Thanks for you support 🙏

from telus-standard.

Nitin-TELUS avatar Nitin-TELUS commented on July 1, 2024

@codyzu let's connect on slack.

from telus-standard.

Related Issues (8)

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.