Code Monkey home page Code Monkey logo

atom-linter-coffee-variables's People

Contributors

andrewrynhard avatar danielbayley avatar denis-sokolov avatar markwainwright avatar nmccready avatar

Stargazers

 avatar  avatar  avatar

atom-linter-coffee-variables's Issues

Failed to load the linter-coffee-variables package

  1. install the package
  2. close and reopen Atom

Atom Version: 1.1.0
System: Mac OS X 10.10.5
Thrown From: linter-coffee-variables package, v0.4.0

Stack Trace

Failed to load the linter-coffee-variables package

At Cannot read property 'debug' of undefined

TypeError: Cannot read property 'debug' of undefined
    at Object.<anonymous> (/Users/nick/.atom/packages/linter-coffee-variables/lib/debug.coffee:2:50)
    at Object.<anonymous> (/Users/nick/.atom/packages/linter-coffee-variables/lib/debug.coffee:1:1)
    at Module._compile (module.js:428:26)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
    at Module.load (module.js:353:32)
    at Function.Module._load (module.js:308:12)
    at Module.require (module.js:363:17)
    at require (module.js:382:17)
    at Object.<anonymous> (/Users/nick/.atom/packages/linter-coffee-variables/lib/linter-coffee-variables.coffee:1:9)
    at Object.<anonymous> (/Users/nick/.atom/packages/linter-coffee-variables/lib/linter-coffee-variables.coffee:1:1)

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "terminal-status",
      "change-case",
      "debugger",
      "web-browser",
      "js2coffee",
      "filetype-color",
      "atom-color-highlight"
    ],
    "themes": [
      "one-dark-ui",
      "oceanic-next"
    ]
  }
}

Installed Packages

# User
atom-handlebars, v1.2.0
atom-pair, v2.0.10
devdocs, v0.2.1
file-icons, v1.6.11
highlight-selected, v0.10.1
language-babel, v0.15.12
language-cjsx, v0.3.0
language-elm, v1.2.0
language-swift, v0.4.0
linter, v1.10.0
linter-coffee-variables, v0.4.0
linter-coffeelint, v1.1.2
linter-eslint, v3.2.1
oceanic-next, v0.1.2
react-snippets, v0.2.0
regex-railroad-diagram, v0.10.4
remote-atom, v1.2.7
set-syntax, v0.3.0

# Dev
No dev packages

Does not detect unused variables

Screen Shot 2020-01-10 at 13 02 43

I expect these to be underlined in red.

Also have ticket the debug option under settings but can't find output debug anywhere.

Unused errors can be attributed to the wrong line

If a file contains a defined but never used error, the plugin highlights the first use of that variable name in the file as the culprit, which isn't accurate in files that use the same variable name in multiple places.

Example:

1   window.doSomething()
2    .then (response) -> response.foo
3    .then (response) -> 'bar'

Expected result:

  • 'Unused' error on line 3

Actual result:

  • 'Unused' error on line 2

Editor gets real slow and crashes on comments

Not sure if this is entirely this libs fault or maybe normal coffee lint. While every thing seems to be fine ; I constantly have been seeing comments make atom come to a crawl. Not sure why this is so hard on the system. Again not really sure how to help you except maybe output the stack of packages I have installed.

Option to load configuration

Thanks for starting this project!

Instead of modifying the settings in atom.io I think the package should pick up the settings from a projects .eslintrc.

Better distinguish types of linting issues

I need to distinguis between "unused vars" and "undefined"

I would like to be able to disable the former or to make an ERROR the latter so that it's different from a plain warning. Does this make sense ?

Bug - variable not used

As you can see, a very big bug and the reason i uninstalled this. Doesn't work if i put it on the next line either.

image

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.