Skip to content

Commit

Permalink
Fix single quote formatting inconsistency in the import/export statem…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
Royal-lobster committed Aug 30, 2024
1 parent 312ba2e commit 87b5f74
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 42 deletions.
78 changes: 39 additions & 39 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": false
},
"files": {
"ignore": ["**/node_modules", "dist", "pnpm-lock.yaml", ".vscode/"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"performance": {
"noDelete": "off"
},
"style": {
"noNonNullAssertion": "off",
"useShorthandArrayType": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded"
}
}
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": false
},
"files": {
"ignore": ["**/node_modules", "dist", "pnpm-lock.yaml", ".vscode/"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"performance": {
"noDelete": "off"
},
"style": {
"noNonNullAssertion": "off",
"useShorthandArrayType": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded"
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "tsc -p tsconfig.json && tsc-esm-fix --target='dist' --ext='.js'",
"format": "biome format . --write",
"lint": "biome check .",
"lint:fix": "pnpm lint --apply",
"lint:fix": "pnpm lint --write",
"watch:build": "tsc -p tsconfig.json -w",
"release": "pnpm build && changeset publish"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./lib/add";
export * from './lib/add'
2 changes: 1 addition & 1 deletion src/lib/add.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const add = (a: number, b: number) => a + b;
export const add = (a: number, b: number) => a + b

0 comments on commit 87b5f74

Please sign in to comment.