Skip to content
Closed
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
73 changes: 73 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
"assist": {
"actions": {
"source": { "organizeImports": "off" }
},
"enabled": true
},
"files": { "ignoreUnknown": false },
"formatter": {
"attributePosition": "auto",
"bracketSameLine": false,
"bracketSpacing": true,
"enabled": true,
"expand": "auto",
"formatWithErrors": false,
"includes": [
"**",
"!**/*.el",
"!**/*.ico",
"!**/*.jpg",
"!**/*.png",
"!**/*.svg",
"!**/*.ttf",
"!**/*.txt",
"!**/*.generator",
"!**/*.local",
"!**/*~",
"!**/.env",
"!**/.env.*",
"!.github/workflows",
"!**/.gitignore",
"!**/.husky",
"!**/.prettierignore",
"!**/.vscode",
"!**/coverage",
"!**/dist",
"!**/index.html",
"!**/node_modules",
"!**/package-lock.json",
"!e2e/*-snapshots",
"!e2e/results",
"!**/site"
],
"indentStyle": "space",
"indentWidth": 4,
"lineEnding": "lf",
"lineWidth": 78,
"useEditorconfig": true
},
"html": {
"formatter": {
"indentScriptAndStyle": true,
"selfCloseVoidElements": "always"
}
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"attributePosition": "auto",
"bracketSameLine": false,
"bracketSpacing": false,
"jsxQuoteStyle": "double",
"operatorLinebreak": "before",
"quoteProperties": "asNeeded",
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "es5"
}
},
"linter": { "enabled": false },
"vcs": { "clientKind": "git", "enabled": true, "useIgnoreFile": true }
}
236 changes: 236 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"vue-router": "^4.5.0"
},
"devDependencies": {
"@biomejs/biome": "2.3.13",
"@eslint/js": "^9.10.0",
"@playwright/browser-chromium": "^1.46.1",
"@playwright/browser-firefox": "^1.46.1",
Expand Down
1 change: 1 addition & 0 deletions src/sequences/simpleFactor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import type {Factorization} from './SequenceInterface'
// up to a million. (Since otherwise prettier insists on just one bigint
// per line, we mark the list as follows:)
// prettier-ignore
// biome-ignore format: don't make a zillion lines
const smallPrimes = [
2n, 3n, 5n, 7n, 11n, 13n, 17n, 19n, 23n, 29n, 31n, 37n, 41n, 43n, 47n,
53n, 59n, 61n, 67n, 71n, 73n, 79n, 83n, 89n, 97n, 101n, 103n, 107n, 109n,
Expand Down
1 change: 1 addition & 0 deletions src/shared/ParamType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {ValidationStatus} from './ValidationStatus'
*/

// prettier-ignore
// biome-ignore format: otherwise the brace position is awkward
export enum ParamType { /** table header to extract:
| ParamType | Associated TypeScript type | Rendering in UI | Comments |
| --------- | -------------------------- | --------------- | -------- | */
Expand Down
4 changes: 2 additions & 2 deletions src/visualizers-workbench/Grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,8 @@ earlier ones that use the _same_ style.)
if (this.pathType === PathType.Spiral) {
// Turn at the numberToTurn at which increases every other turn
if (iteration === this.numberToTurnAtForSpiral) {
this.numberToTurnAtForSpiral
+= this.incrementForNumberToTurnAt
this.numberToTurnAtForSpiral +=
this.incrementForNumberToTurnAt
if (this.whetherIncrementShouldIncrement) {
this.incrementForNumberToTurnAt += 1
this.whetherIncrementShouldIncrement = false
Expand Down
Loading