Skip to content

Commit

Permalink
fix(style): Conform to kebab case for all source files (except the Re…
Browse files Browse the repository at this point in the history
…act components) (#275)
  • Loading branch information
chmeyer-ms authored Dec 18, 2024
1 parent 6af0405 commit 5ac9c64
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/panels/home-view-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as path from 'path';
import { getNonce } from '../utilities/getNonce';
import { getUri } from '../utilities/getUri';
import { EventEmitter } from 'stream';
import { MinecraftCapabilities } from '../Session';
import { MinecraftCapabilities } from '../session';

export class HomeViewProvider implements vscode.WebviewViewProvider {
public static readonly viewType = 'minecraft-debugger-home-panel';
Expand Down
2 changes: 1 addition & 1 deletion src/server-debug-adapter-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import * as Net from 'net';
import * as vscode from 'vscode';
import { EventEmitter } from 'stream';
import { Session } from './Session';
import { Session } from './session';
import { StatsProvider } from './stats/stats-provider';
import { HomeViewProvider } from './panels/home-view-provider';

Expand Down
2 changes: 1 addition & 1 deletion src/Session.ts → src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ import { MessageStreamParser } from './message-stream-parser';
import { SourceMaps } from './source-maps';
import { StatMessageModel, StatsProvider } from './stats/stats-provider';
import { HomeViewProvider } from './panels/home-view-provider';
import { isUUID } from './utils';
import * as path from 'path';
import * as fs from 'fs';
import { isUUID } from './Utils';

interface PendingResponse {
onSuccess?: Function;
Expand Down
2 changes: 1 addition & 1 deletion src/source-maps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (C) Microsoft Corporation. All rights reserved.

import { BasicSourceMapConsumer, MappedPosition, NullablePosition, SourceMapConsumer } from 'source-map';
import { normalizePath, normalizePathForRemote } from './Utils';
import { normalizePath, normalizePathForRemote } from './utils';
import * as fs from 'fs';
import * as path from 'path';

Expand Down
2 changes: 1 addition & 1 deletion src/Utils.test.ts → src/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as os from 'os';
import { describe, it, expect } from 'vitest';
import { normalizePath, normalizePathForRemote, isUUID } from './Utils';
import { normalizePath, normalizePathForRemote, isUUID } from './utils';

describe('Utils', () => {
describe('normalizePath', () => {
Expand Down
File renamed without changes.

0 comments on commit 5ac9c64

Please sign in to comment.