Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency typescript to ~5.3.0 #574

Merged
merged 12 commits into from
Jan 20, 2024
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
Loading