Giter Club home page Giter Club logo

coffeelinter's Introduction

Kaiyuan Liu Top Langs

coffeelinter's People

Contributors

ffxsquall avatar hdavidzhu avatar lkytal avatar orta avatar ujex256 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

coffeelinter's Issues

coffeelint.defaultRules settings not respected after npm install

I have set coffeelint.defaultRules in my user settings. This works as expected until I run npm install, now the settings I have in coffeelint.defaultRules are no long respected. After npm install I have the following files in my directory structure:

$ find . -name "coffeelint.json"
./node_modules/coffeelint/coffeelint.json
./node_modules/coffeelint-newline-after-function/coffeelint.json

I believe one of these files is taking precedent over my user settings. This is undesired, and according to the documentation, should not happen since I don't have a coffeelint.json in the root of my project.

Request: Can we add Intellisense into exentsion

I think this is best extension can work on vscode and support coffeescript. But we still missing most important path is intellisence. Without intellisence we will lost suggestion, autocomplete, quick reference function format from import file etc etc. It really help working faster. Can we have plan to upgrade it ??

Error: Cannot find module 'coffeeLint'

vscode: 1.19.2

I upgraded to version 1.3.0 today and began to get an error

Error: Cannot find module 'coffeeLint'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/squall/.vscode/extensions/lkytal.coffeelinter-1.3.0/server/src/server.js:5:20)
    at Object.<anonymous> (/home/squall/.vscode/extensions/lkytal.coffeelinter-1.3.0/server/src/server.js:91:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
[Error - 16:46:30] Connection to server got closed. Server will not be restarted.

Unable to change linter options

I am unable to change any of the default linter settings in VSCode for my workspace.

There is no coffeelint.json file in my workspace. I don't see a ~/coffeelint.json file for my user. Other instructions have included using the node project's own package.json to change settings -- that doesn't work either. There is no json object within the extension settings to modify.

I want to turn off the Line exceeds maximum length linter warning, but cannot figure out how to do this.

[RFC] "disable when no coffeelint.json is present" option

"coffeelinter.requireConfig": true

The VS Code extension for Prettier has this option.

When true, this extension should be disabled for packages without a coffeelint.json file in the same directory as their package.json file.

coffeelint.json is respected in subfolders only after explicit saving

Meaning that when I reload vscode, with my workspace in the following structure:

/
    api/
    web/
        coffeelint.json
        sourcefile.coffee

then this exctension will apply the standard coffee linting rules to sourcefile.coffee when I open it. This changes once /web/coffeelint.json is saved, which needs to be done after every restart.

Workaround: ln -s web/coffeelint.json coffeelint.json.

Thanks!

Linter does not respect `extends`

When using the VS Code extension in combination with a coffeelint.json that extends our own node module with linter rules.

coffeelint.json

{
    "extends": "@ttab/coffeescript-style"
}

The result is that the default rules from the extension is applied.

Support different file types

For example, .vue single file components. While coffee syntax highlighting works here, the linter ignores anything that isnt pure .coffee, it seems.

When I add vue to documentSelector, it is being considered, but unfortunately also tries to parse the html + css contained in the file. So... I am not really sure how this works, but I guess you know how to support other file extensions in general.

Thanks for this extension

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.