Skip to content

Commit 197ed4b

Browse files
committed
yarn biome check --write .
1 parent 363a63c commit 197ed4b

40 files changed

+191
-290
lines changed

.changeset/config.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3-
"changelog": ["@changesets/changelog-github", {"repo": "Khan/perseus"}],
4-
"commit": false,
5-
"linked": [],
6-
"access": "public",
7-
"baseBranch": "main",
8-
"updateInternalDependencies": "patch",
9-
"ignore": [],
10-
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
11-
"updateInternalDependents": "always"
12-
}
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": ["@changesets/changelog-github", { "repo": "Khan/perseus" }],
4+
"commit": false,
5+
"linked": [],
6+
"access": "public",
7+
"baseBranch": "main",
8+
"updateInternalDependencies": "patch",
9+
"ignore": [],
10+
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
11+
"updateInternalDependents": "always"
12+
}
1313
}

.devcontainer/devcontainer.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
33
{
4-
"name": "Node.js & TypeScript",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/typescript-node:16",
4+
"name": "Node.js & TypeScript",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:16",
77

8-
// Features to add to the dev container. More info: https://containers.dev/features.
9-
// "features": {},
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
1010

11-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12-
"forwardPorts": [6006],
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
"forwardPorts": [6006],
1313

14-
// Use 'postCreateCommand' to run commands after the container is created.
15-
"postCreateCommand": "yarn install"
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
"postCreateCommand": "yarn install"
1616

17-
// Configure tool-specific properties.
18-
// "customizations": {},
17+
// Configure tool-specific properties.
18+
// "customizations": {},
1919

20-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21-
// "remoteUser": "root"
20+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21+
// "remoteUser": "root"
2222
}

.nycrc.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,5 @@
66
"packages/*/src/**/*.ts",
77
"packages/*/src/**/*.tsx"
88
],
9-
"exclude": [
10-
"**/*.stories.tsx",
11-
"**/*.test.ts",
12-
"**/*.test.tsx"
13-
]
14-
}
9+
"exclude": ["**/*.stories.tsx", "**/*.test.ts", "**/*.test.tsx"]
10+
}

config/cypress/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"esModuleInterop": true,
66
// be explicit about types included
77
// to avoid clashing with Jest types
8-
"types": ["cypress", "node", "cypress-real-events"]
8+
"types": ["cypress", "node", "cypress-real-events"],
99
},
10-
"include": ["**/*.ts", "**/*.tsx"]
10+
"include": ["**/*.ts", "**/*.tsx"],
1111
}

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
"repository": "[email protected]:Khan/perseus.git",
66
"license": "MIT",
77
"private": true,
8-
"workspaces": [
9-
"dev",
10-
"packages/*",
11-
"config/build"
12-
],
8+
"workspaces": ["dev", "packages/*", "config/build"],
139
"engines": {
1410
"node": ">=20"
1511
},

packages/kas/package.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
"module": "dist/es/index.js",
1919
"main": "dist/index.js",
2020
"source": "src/index.js",
21-
"files": [
22-
"dist"
23-
],
21+
"files": ["dist"],
2422
"scripts": {
2523
"gen:parsers": "node src/parser-generator.ts",
2624
"test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
@@ -36,11 +34,5 @@
3634
"peerDependencies": {
3735
"underscore": "1.4.4"
3836
},
39-
"keywords": [
40-
"parsing",
41-
"equation",
42-
"expression",
43-
"algebra",
44-
"symbolic"
45-
]
37+
"keywords": ["parsing", "equation", "expression", "algebra", "symbolic"]
4638
}

packages/kas/tsconfig-build.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"extends": "../tsconfig-shared.json",
33
"compilerOptions": {
44
"outDir": "./dist",
5-
"rootDir": "src"
5+
"rootDir": "src",
66
},
7-
"references": [
8-
{"path": "../perseus-core/tsconfig-build.json"}
9-
]
7+
"references": [{ "path": "../perseus-core/tsconfig-build.json" }],
108
}

packages/keypad-context/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
"module": "dist/es/index.js",
1919
"main": "dist/index.js",
2020
"source": "src/index.ts",
21-
"files": [
22-
"dist"
23-
],
21+
"files": ["dist"],
2422
"scripts": {
2523
"test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
2624
},

packages/keypad-context/tsconfig-build.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@
44
"outDir": "./dist",
55
"rootDir": "src",
66
},
7-
"references": [
8-
{"path": "../perseus-core/tsconfig-build.json"}
9-
]
7+
"references": [{ "path": "../perseus-core/tsconfig-build.json" }],
108
}

packages/kmath/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
"module": "dist/es/index.js",
1818
"main": "dist/index.js",
1919
"source": "src/index.ts",
20-
"files": [
21-
"dist"
22-
],
20+
"files": ["dist"],
2321
"scripts": {
2422
"test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
2523
},

0 commit comments

Comments
 (0)