Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Feature: Can select type of lint message #50

Merged
merged 2 commits into from
May 4, 2015
Merged

Feature: Can select type of lint message #50

merged 2 commits into from
May 4, 2015

Conversation

pofigizm
Copy link

@pofigizm pofigizm commented May 2, 2015

In my case linter-jscs has most low priority, but it always has error type which has highest priority. I fix it. Now you can chose type of message (priority).

@@ -27,6 +27,9 @@ class LinterJscs extends Linter
# A string to indicate using jscs config
config: ''

# A string to setup type of message (don't understand why default isn't work)
defaultLevel: atom.config.get "linter-jscs.messageType" or 'info'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use single quotes on "linter-jscs.messageType"

@iam4x
Copy link
Member

iam4x commented May 4, 2015

Hello @pofigizm

Thank's for contribution, after the code style change I'm okay to merge 👍

@pofigizm
Copy link
Author

pofigizm commented May 4, 2015

Hi, @iam4x.
I fix code style in my part.

But this file already has mix of quote type. I only copy-paste one string... :)

@iam4x
Copy link
Member

iam4x commented May 4, 2015

Yes you must use double quotes when you do string interpolation on Coffee that's why.

Thank's merged ;)

iam4x pushed a commit that referenced this pull request May 4, 2015
Feature: Can select type of lint message
@iam4x iam4x merged commit cba714e into AtomLinter:master May 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants