Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Commit

Permalink
Add support for Vue Component
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Gyerik committed Jul 10, 2017
1 parent 30b59c6 commit 0cfd5df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const path = require('path');

const languageServerInfo = {
basedir: 'files/server',
url: "https://repox.sonarsource.com/sonarsource-public-builds/org/sonarsource/sonarlint/core/sonarlint-language-server/2.15.0.814/sonarlint-language-server-2.15.0.814.jar",
url: "https://repox.sonarsource.com/sonarsource-public-builds/org/sonarsource/sonarlint/core/sonarlint-language-server/2.15.0.825/sonarlint-language-server-2.15.0.825.jar",
filename: "sonarlint-ls.jar"
}
const analyzerBasedir = 'files/analyzers'
Expand Down
2 changes: 1 addition & 1 deletion lib/sonarlint.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const requirements = require('./requirements');
const ruleDetailsBaseUrl = 'http://www.sonarlint.org/atom/rules/index.html#version=1.0.0'

class SonarLintLanguageServer extends AutoLanguageClient {
getGrammarScopes () { return ['source.js', 'source.python', 'text.html.php'] }
getGrammarScopes () { return ['source.js', 'source.python', 'text.html.php', 'text.html.vue'] }
getLanguageName () { return 'JavaScript, Python, PHP' }
getServerName () { return 'SonarLint' }

Expand Down

0 comments on commit 0cfd5df

Please sign in to comment.