Skip to content

Commit

Permalink
Merge pull request #760 from Quramy/upgrade_prettier
Browse files Browse the repository at this point in the history
chore: Upgrade prettier
  • Loading branch information
Quramy committed Apr 2, 2024
2 parents 003d895 + b721bfa commit 88aef2a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 137 deletions.
148 changes: 15 additions & 133 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"fretted-strings": "2.0.0",
"husky": "9.0.11",
"jest": "29.7.0",
"prettier": "2.8.8",
"pretty-quick": "3.3.1",
"prettier": "3.2.5",
"pretty-quick": "4.0.0",
"rimraf": "5.0.5",
"ts-jest": "29.1.2",
"typescript": "5.4.3"
Expand Down
4 changes: 2 additions & 2 deletions src/eslint-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export function translateToDiagnosticsFromESLintResult(
severity === 2
? ts.DiagnosticCategory.Error
: severity === 1
? ts.DiagnosticCategory.Warning
: ts.DiagnosticCategory.Suggestion;
? ts.DiagnosticCategory.Warning
: ts.DiagnosticCategory.Suggestion;

/**
* ESLint uses 1-started index. On the other hand, TypeScript 0-started index.
Expand Down

0 comments on commit 88aef2a

Please sign in to comment.