Skip to content

Enforce CRLF in TS/JS files #55403

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

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dprint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"newLineKind": "auto",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could change this but that feels like a bit much as it'll redo quite a few things, actually. Maybe that's okay and I should just override this in general?

"useTabs": false,
"typescript": {
"newLineKind": "crlf",
"semiColons": "always",
"quoteStyle": "preferDouble",
"quoteProps": "consistent",
Expand Down
6 changes: 3 additions & 3 deletions src/lib/es2023.collection.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
interface WeakKeyTypes {
symbol: symbol;
}
interface WeakKeyTypes {
symbol: symbol;
}
20 changes: 10 additions & 10 deletions src/lib/esnext.decorators.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/// <reference lib="es2015.symbol" />
/// <reference lib="decorators" />

interface SymbolConstructor {
readonly metadata: unique symbol;
}

interface Function {
[Symbol.metadata]: DecoratorMetadata | null;
}
/// <reference lib="es2015.symbol" />
/// <reference lib="decorators" />
interface SymbolConstructor {
readonly metadata: unique symbol;
}
interface Function {
[Symbol.metadata]: DecoratorMetadata | null;
}