Git Product home page Git Product logo

Comments (12)

AsaAyers avatar AsaAyers commented on June 15, 2024

I can't reproduce this issue. grammarScopes definitely is an array, so this shouldn't be thrown.

from linter-coffeelint.

Arcanemagus avatar Arcanemagus commented on June 15, 2024

I got this on updating as well, the console said that grammarScope was undefined at helpers.coffee:32.

It looks like the linter simply has issues with updating as after restarting Atom it works perfectly fine.

from linter-coffeelint.

keplersj avatar keplersj commented on June 15, 2024

More legacy in memory issues?

from linter-coffeelint.

AsaAyers avatar AsaAyers commented on June 15, 2024

I'm pretty sure this is only going to happen as you upgrade and reloading or restarting atom will fix it, but I'm still interested in seeing what the console says. it should log what it claims grammarScope was if not an array.

from linter-coffeelint.

keplersj avatar keplersj commented on June 15, 2024

in steelbrain/linter#686 I've changed the validation code so that it shows what is passed as grammarScopes in the error, rather than the console.

from linter-coffeelint.

AsaAyers avatar AsaAyers commented on June 15, 2024

The reason I put it in the console was so you could always get real information and never [object Object]

from linter-coffeelint.

keplersj avatar keplersj commented on June 15, 2024

Oh. I'll fix that.

from linter-coffeelint.

mnquintana avatar mnquintana commented on June 15, 2024

FWIW, grammarScopes was undefined in the console log.

from linter-coffeelint.

AsaAyers avatar AsaAyers commented on June 15, 2024

Thanks. That leaves me even more confused 😕 I wonder if every linter is going to have this problem as they remove the pre-1.0 linter code

from linter-coffeelint.

keplersj avatar keplersj commented on June 15, 2024

Most likely.

from linter-coffeelint.

steelbrain avatar steelbrain commented on June 15, 2024

Just upgraded to 1.0 and got the same error.

from linter-coffeelint.

steelbrain avatar steelbrain commented on June 15, 2024

and yeah @AsaAyers reloading fixed it

from linter-coffeelint.

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.