Skip to content

Commit

Permalink
chore(deps): update dependency typescript to ~5.3.0 (#574)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: baseballyama <[email protected]>
  • Loading branch information
renovate[bot] and baseballyama authored Jan 20, 2024
1 parent 9d25a93 commit 89a30e2
Show file tree
Hide file tree
Showing 8 changed files with 118 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"engines": {
"node": "^14.17.0 || >=16.0.0"
},
"type": "commonjs",
"main": "lib/index.js",
"files": [
"lib"
Expand Down Expand Up @@ -170,7 +171,7 @@
"svelte-i18n": "^4.0.0",
"tslib": "^2.5.0",
"type-coverage": "^2.22.0",
"typescript": "~5.1.0",
"typescript": "~5.3.0",
"vite": "^5.0.0",
"vite-plugin-svelte-md": "^0.1.7",
"yaml": "^2.1.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- message: Expected indentation of 2 spaces but found 0 spaces.
line: 3
column: 1
suggestions: null
- message: Expected indentation of 4 spaces but found 0 spaces.
line: 4
column: 1
suggestions: null
- message: Expected indentation of 6 spaces but found 0 spaces.
line: 5
column: 1
suggestions: null
- message: Expected indentation of 8 spaces but found 0 spaces.
line: 6
column: 1
suggestions: null
- message: Expected indentation of 8 spaces but found 0 spaces.
line: 7
column: 1
suggestions: null
- message: Expected indentation of 4 spaces but found 0 spaces.
line: 8
column: 1
suggestions: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- prettier-ignore -->
<script lang="ts">
import foo from "./foo.json" with
{
type
:
"json"
}
</script>

<!--tests/fixtures/rules/indent/invalid/ts/ts-import-attributes01-input-->
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
- message: Expected indentation of 2 spaces but found 0 spaces.
line: 3
column: 1
suggestions: null
- message: Expected indentation of 4 spaces but found 0 spaces.
line: 4
column: 1
suggestions: null
- message: Expected indentation of 6 spaces but found 0 spaces.
line: 5
column: 1
suggestions: null
- message: Expected indentation of 8 spaces but found 0 spaces.
line: 6
column: 1
suggestions: null
- message: Expected indentation of 8 spaces but found 0 spaces.
line: 7
column: 1
suggestions: null
- message: Expected indentation of 4 spaces but found 0 spaces.
line: 8
column: 1
suggestions: null
- message: Expected indentation of 2 spaces but found 0 spaces.
line: 9
column: 1
suggestions: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- prettier-ignore -->
<script lang="ts">
export * from "mod" with
{
type
:
"json"
}
;
</script>

<!--tests/fixtures/rules/indent/invalid/ts/ts-import-attributes03-input-->
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
- message: Expected indentation of 2 spaces but found 0 spaces.
line: 3
column: 1
suggestions: null
- message: Expected indentation of 4 spaces but found 0 spaces.
line: 4
column: 1
suggestions: null
- message: Expected indentation of 6 spaces but found 0 spaces.
line: 5
column: 1
suggestions: null
- message: Expected indentation of 8 spaces but found 0 spaces.
line: 6
column: 1
suggestions: null
- message: Expected indentation of 8 spaces but found 0 spaces.
line: 7
column: 1
suggestions: null
- message: Expected indentation of 4 spaces but found 0 spaces.
line: 8
column: 1
suggestions: null
- message: Expected indentation of 2 spaces but found 0 spaces.
line: 9
column: 1
suggestions: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- prettier-ignore -->
<script lang="ts">
export { foo } from "mod" with
{
type
:
"json"
}
;
</script>

<!--tests/fixtures/rules/indent/invalid/ts/ts-import-attributes04-input-->
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es2020",
"module": "commonjs",
"module": "NodeNext",
"moduleResolution": "Node16",
"lib": ["es2020", "dom"],
"allowJs": true,
Expand Down

0 comments on commit 89a30e2

Please sign in to comment.