Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Aug 14, 2020
1 parent 7781112 commit ea84031
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
cli/compilers/wasm_wrap.js
cli/dts/*
cli/tests/error_syntax.js
cli/tsc/*typescript.js
compiler/fixtures
std/deno.d.ts
std/**/testdata/
std/**/node_modules/
cli/tsc/*typescript.js
cli/dts/*
4 changes: 1 addition & 3 deletions cli/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,7 @@ impl LintReporter for JsonLintReporter {

fn close(&mut self) {
// Sort so that we guarantee a deterministic output which is useful for tests
self
.diagnostics
.sort_by_key(|key| get_sort_key(&key));
self.diagnostics.sort_by_key(|key| get_sort_key(&key));

let json = serde_json::to_string_pretty(&self);
eprintln!("{}", json.unwrap());
Expand Down

0 comments on commit ea84031

Please sign in to comment.