Skip to content

Commit

Permalink
Fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer committed Jan 25, 2016
1 parent 08e65c0 commit 34bbbf5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eslint-server/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// Port to attach to.
"port": 6004,
"sourceMaps": true,
"outDir": "../eslint/server"
"outDir": "${workspaceRoot}/../eslint/server"
}
]
}
3 changes: 2 additions & 1 deletion eslint-server/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"javascript.validate.enable": false,
"files.trimTrailingWhitespace": true,
"editor.insertSpaces": false,
"editor.tabSize": 4
"editor.tabSize": 4,
"tslint.enable": false
}
1 change: 1 addition & 0 deletions eslint-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function makeDiagnostic(problem: ESLintProblem): Diagnostic {
return {
message: `${problem.message} (${problem.ruleId})`,
severity: convertSeverity(problem.severity),
source: 'eslint',
range: {
start: { line: problem.line - 1, character: problem.column - 1 },
end: { line: problem.line - 1, character: problem.column - 1 }
Expand Down
2 changes: 1 addition & 1 deletion eslint/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "out",
"outDir": "${workspaceRoot}/out",
"preLaunchTask": "npm"
}
]
Expand Down

0 comments on commit 34bbbf5

Please sign in to comment.