Giter Club home page Giter Club logo

Comments (5)

cbranca avatar cbranca commented on June 6, 2024 1

Hi @Flet , sorry for the delay of my answer. I tried version 12.0.1 just now and it works. Thank you 💯

from semistandard.

Flet avatar Flet commented on June 6, 2024

Huh, strange! Looking into it

from semistandard.

Flet avatar Flet commented on June 6, 2024

After tinkering a bit, It looks like it works when running via command line but its not working in my editor (VS Code with the standard plugin). Could you confirm that running semistandard via terminal works?

Are you experiencing the same issue in your editor? What are you using?

I suspect the issue is happening due to some standard-engine changes:
https://github.com/standard/standard-engine/blob/master/index.js#L60

By default, using lintText will not use package.json values. So, if editor plugins are using this function they will not include values defined under the semistandard key in package.json (including globals).

Can you test to see if any of this is true for your setup?

from semistandard.

cbranca avatar cbranca commented on June 6, 2024

Hi Flet, the problem occurs within editors. I tried both Sublime Text 3 and Visual Studio Code.

from semistandard.

Flet avatar Flet commented on June 6, 2024

Thanks to @feross, this was fixed in standard-engine.

I updated semistandard to 12.0.1 which should fix this issue. Could you give it a try?

from semistandard.

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.