Skip to content

Commit

Permalink
Merge pull request #3 from axhxrx/2-fix-jsr-lint-issues
Browse files Browse the repository at this point in the history
🔧 fix: use the correct import specifier for JSONCParser
  • Loading branch information
masonmark authored Dec 16, 2024
2 parents f6a4ca1 + ff4c222 commit ad582c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion JSONCFormatter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as JSONCParser from 'npm:jsonc-parser';
import * as JSONCParser from 'jsonc-parser';
import { DefaultFormattingOptions } from './DefaultFormattingOptions.ts';

/**
Expand Down
2 changes: 1 addition & 1 deletion JSONCTweaker.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { applyEdits, modify, parse, type Segment } from 'jsonc-parser';
import type { ParseError } from 'npm:jsonc-parser';
import type { ParseError } from 'jsonc-parser';
import { DefaultFormattingOptions } from './DefaultFormattingOptions.ts';
import { getAlphabeticalInsertionIndex } from './getAlphabeticalInsertionIndex.ts';
import { getValueAtPath } from './getValueAtPath.ts';
Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from 'npm:jsonc-parser';
export * from 'jsonc-parser';

export * from './JSONCFormatter.ts';
export * from './JSONCTweaker.ts';
Expand Down

0 comments on commit ad582c7

Please sign in to comment.