Comments (12)
I can't reproduce this issue. grammarScopes
definitely is an array, so this shouldn't be thrown.
from linter-coffeelint.
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.
More legacy in memory issues?
from linter-coffeelint.
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.
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.
The reason I put it in the console was so you could always get real information and never [object Object]
from linter-coffeelint.
Oh. I'll fix that.
from linter-coffeelint.
FWIW, grammarScopes
was undefined
in the console log.
from linter-coffeelint.
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.
Most likely.
from linter-coffeelint.
Just upgraded to 1.0 and got the same error.
from linter-coffeelint.
and yeah @AsaAyers reloading fixed it
from linter-coffeelint.
Related Issues (20)
- language-coffee-script 'Preferred Line Length' as max_line_length HOT 1
- Migrate CircleCI to a 2.0 configuration HOT 6
- An in-range update of semantic-release is breaking the build 🚨 HOT 4
- An in-range update of @commitlint/cli is breaking the build 🚨 HOT 1
- An in-range update of @commitlint/travis-cli is breaking the build 🚨 HOT 1
- Action Required: Fix Renovate Configuration
- Dependency Dashboard
- indent errors for config.cson HOT 2
- Add support for coffeescope HOT 3
- False positive on modern Coffeescript syntax HOT 1
- An in-range update of eslint is breaking the build 🚨 HOT 2
- An in-range update of eslint is breaking the build 🚨 HOT 3
- An in-range update of eslint is breaking the build 🚨 HOT 3
- How to use coffeelint modules? HOT 1
- An in-range update of eslint is breaking the build 🚨 HOT 8
- An in-range update of eslint-plugin-import is breaking the build 🚨 HOT 1
- Freezes on long files HOT 3
- CoffeeLint not loaded for .litcoffee files HOT 2
- Cannot convert undefined or null to object HOT 3
- Option to disable when no rules are found. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linter-coffeelint.