Skip to content

Commit

Permalink
build: bump ts to v5 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens authored Mar 20, 2023
1 parent aaa8ca9 commit 6050cfe
Show file tree
Hide file tree
Showing 30 changed files with 250 additions and 173 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ module.exports = {
root: true,
rules: {
// These off-by-default rules work well for this repo and we like them on.
"import/extensions": ["error", "ignorePackages"],
"import/extensions": ["error"],
"import/no-useless-path-segments": [
"error",
{
noUselessIndex: true,
},
],
"no-only-tests/no-only-tests": "error",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"typedoc-plugin-konamimojisplosion": "^0.0.2",
"typedoc-plugin-mdn-links": "^3.0.0",
"typedoc-plugin-versions": "^0.2.3",
"typescript": "4.9.5",
"typescript": "^5.0.2",
"vitest": "^0.29.0"
},
"peerDependencies": {
Expand Down
110 changes: 55 additions & 55 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import ts from "typescript";

import { forEachToken } from "./tokens.js";
import { forEachToken } from "./tokens";

/**
* Exclude trailing positions that would lead to scanning for trivia inside `JsxText`.
Expand Down
2 changes: 1 addition & 1 deletion src/compilerOptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { describe, expect, it } from "vitest";
import {
isCompilerOptionEnabled,
isStrictCompilerOptionEnabled,
} from "./compilerOptions.js";
} from "./compilerOptions";

describe("isCompilerOptionEnabled", () => {
it("checks if option is enabled", () => {
Expand Down
Loading

0 comments on commit 6050cfe

Please sign in to comment.