Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge branch next into master #500

Open
wants to merge 166 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
d2e61be
feat: Refactor compile for improved performance and byte size reduction
maxmilton Jul 14, 2023
046042e
chore: Tweak VS Code settings
maxmilton Jul 14, 2023
b750dce
chore: Migrate to bun and refactor package
maxmilton Jul 14, 2023
a77d7d3
chore: Migrate CI to bun + tweaks
maxmilton Jul 14, 2023
9baa133
chore: Refactor TypeScript configuration
maxmilton Jul 14, 2023
32464fb
chore: Remove old lockfile
maxmilton Jul 14, 2023
41d3c34
chore: Set sideEffects=false in package
maxmilton Jul 14, 2023
1da83bc
chore: Refactor linting configuration
maxmilton Jul 14, 2023
74e2294
chore: Refactor build process
maxmilton Jul 14, 2023
6ed6963
feat: Add new browser bundle for CDN use
maxmilton Jul 14, 2023
5ae2fce
feat: Add new clone utility function
maxmilton Jul 14, 2023
3dd3a73
feat: Improve store documentation
maxmilton Jul 14, 2023
949774a
feat: Refactor reconsilers to remove most lint errors
maxmilton Jul 14, 2023
7d60122
feat: Add new precompileed runtime mode
maxmilton Jul 14, 2023
70cd100
feat: Update exports in package
maxmilton Jul 14, 2023
b27b534
test: Refactor unit tests
maxmilton Jul 14, 2023
3d88304
test: Add initial files for e2e tests
maxmilton Jul 14, 2023
6065d49
chore: Update readme
maxmilton Jul 14, 2023
732e60e
chore: Update readme
maxmilton Jul 14, 2023
18d46ed
chore: Update dependencies
maxmilton Jul 14, 2023
12f3c48
v0.8.0-next.0
maxmilton Jul 14, 2023
cdb28d6
chore: Update dependencies
maxmilton Jul 17, 2023
8990650
chore: Better doc comment
maxmilton Jul 17, 2023
d4a060e
feat: Rename internal node property for easier name mangling
maxmilton Jul 18, 2023
1a8f621
feat: Improve collect performance
maxmilton Jul 18, 2023
ad2e89e
v0.8.0-next.1
maxmilton Jul 18, 2023
982b74e
bug: Fix whitespace handling in whitespace sensitive nodes + add new …
maxmilton Jul 19, 2023
e82f043
v0.8.0-next.2
maxmilton Jul 19, 2023
9158596
chore: Update dependencies
maxmilton Jul 22, 2023
61e3aae
test: Add and update macro tests
maxmilton Jul 22, 2023
36fd32c
chore: Clean up lint config
maxmilton Jul 23, 2023
8e709aa
bug: Rename macro option keepSpace to keepSpaces
maxmilton Jul 26, 2023
c075c16
chore: Update dependencies
maxmilton Jul 27, 2023
1b0dff9
feat: Add single root check to compile macro
maxmilton Jul 27, 2023
9af44bf
test: Add more compile macro tests
maxmilton Jul 27, 2023
f97d1b1
v0.8.0-next.3
maxmilton Jul 27, 2023
7f91887
chore: Update dependencies
maxmilton Jul 31, 2023
a4c5bc6
chore: Ignore broken lint rule
maxmilton Jul 31, 2023
4fd62d4
chore: Update dependencies
maxmilton Aug 4, 2023
bb6cbd2
bug: Do not escape html entities in compile macro
maxmilton Aug 4, 2023
5615850
v0.8.0-next.4
maxmilton Aug 4, 2023
44610ef
chore: Update dependencies
maxmilton Aug 7, 2023
a30bf3b
test: Add benchmark tooling (WIP)
maxmilton Aug 7, 2023
95d0da1
test: Show coverage
maxmilton Aug 7, 2023
57fed98
test: Don't skip macro error check test
maxmilton Aug 7, 2023
258d7ef
test: Minor bench tweaks
maxmilton Aug 7, 2023
84902c3
test: More improvements
maxmilton Aug 7, 2023
f3766d6
chore: Update dependencies
maxmilton Sep 3, 2023
685a183
chore: Tweak lint rules
maxmilton Sep 3, 2023
969f65a
chore: Update dependencies
maxmilton Sep 6, 2023
8cbf23b
chore: Update dependencies
maxmilton Oct 2, 2023
49638e1
chore: Remove unnecessary TS ignore comment
maxmilton Oct 2, 2023
2a53cac
chore: Fix TypeScript module resolution value
maxmilton Oct 8, 2023
bfd6bad
chore: Update CI `actions/checkout` action to v4
maxmilton Oct 8, 2023
36f41b3
chore: Update dependencies
maxmilton Oct 8, 2023
0da56f6
test: Uncommend skipped tests now that happy-dom supports then
maxmilton Oct 8, 2023
eb5e17b
chore: Update dependencies
maxmilton Dec 18, 2023
fb72312
chore: Update VS Code settings
maxmilton Dec 18, 2023
71f5982
feat: Add support for comments as refs
maxmilton Dec 18, 2023
bb6c31f
feat: Minor name tweaks and comments
maxmilton Dec 18, 2023
b090da1
test: Add and improve many tests
maxmilton Dec 18, 2023
8f22548
Merge branch 'master' into next
maxmilton Dec 18, 2023
cc13739
test: Improve test utils
maxmilton Dec 18, 2023
85e1852
chore: Switch to @types/bun + package.json#overrides + update TS config
maxmilton Dec 25, 2023
797c175
chore: Update dependencies
maxmilton Dec 25, 2023
c06cd1e
feat: Refactor compile bun macro for efficiency
maxmilton Dec 25, 2023
26cbbdb
Publish v0.8.0-next.5
maxmilton Dec 25, 2023
d6fa5c2
chore: Clean up macro
maxmilton Dec 26, 2023
604a387
chore: Update gitignore
maxmilton Dec 26, 2023
490b4d7
chore: Refactor CI triggers and action versions
maxmilton Jan 4, 2024
8b57631
chore: Update dependencies
maxmilton Jan 4, 2024
8842afd
feat: Refactor
maxmilton Jan 4, 2024
3625ab9
feat: Refactor exports and paths
maxmilton Jan 4, 2024
096c21d
chore: 2023 -> 2024 and minor tweaks
maxmilton Jan 4, 2024
52c7270
test: Refactor and improve tests and tooling
maxmilton Jan 4, 2024
72af293
Publish v0.8.0-next.6
maxmilton Jan 4, 2024
0b96dd6
feat: Refactor browser files
maxmilton Jan 6, 2024
2a5437c
test: Clean up test setup script
maxmilton Jan 6, 2024
903756f
test: Add tests for setup script
maxmilton Jan 6, 2024
04702a8
feat: Refactor build, paths, and types
maxmilton Jan 6, 2024
63fa8b2
chore: Update dependencies
maxmilton Jan 6, 2024
66f1483
Publish `0.8.0-next.7`
maxmilton Jan 6, 2024
86ebb02
chore: Update VS Code settings
maxmilton Jan 16, 2024
6dc63d0
chore: Update dependencies
maxmilton Jan 16, 2024
fc61226
test: Fixes for new happy-dom API
maxmilton Jan 16, 2024
c320afb
chore: Update dependencies
maxmilton Jan 17, 2024
d7444a1
test: Clean up
maxmilton Jan 17, 2024
898ca02
chore: Update dependencies
maxmilton Jan 22, 2024
aa17ad0
test: Remove workaround for missing element classes in happy-dom
maxmilton Jan 22, 2024
a92d885
feat: Allow returning a value from synthetic events
maxmilton Jan 22, 2024
dd7ceed
Merge branch 'master' into next
maxmilton Jan 22, 2024
41a585d
Publish `v0.8.0-next.8`
maxmilton Jan 22, 2024
073dccd
chore: Use semgrep pro in CI
maxmilton Jan 30, 2024
c1dba1e
chore: Migrate from `prettier` to `biome` for code formatting
maxmilton Feb 9, 2024
3071c8e
chore: Fix new lint issues + run formatting
maxmilton Feb 9, 2024
94a4851
chore: Update and clean up dependencies
maxmilton Feb 9, 2024
94347e0
chore: Update dependencies
maxmilton Mar 20, 2024
6187265
chore: Tweak tooling configs
maxmilton Mar 20, 2024
ad046bc
chore: Fix new lint errors
maxmilton Mar 20, 2024
ab30538
chore: Add option to e2e in CI
maxmilton Mar 20, 2024
794ae45
test: Add workaround for happy-dom bug
maxmilton Mar 20, 2024
68a5950
text: Comment out broken test
maxmilton Mar 20, 2024
5e8c4b3
test: Add expect.assertions to all unit tests
maxmilton Mar 20, 2024
e9c6654
chore: Update dependencies
maxmilton Jun 7, 2024
d54a524
chore: Update lint configs
maxmilton Jun 7, 2024
18839ab
chore: Rework CI workflows
maxmilton Jun 24, 2024
0055b79
chore: Refactor VS Code settings
maxmilton Jun 24, 2024
7bf65dd
chore: Rework and update dependencies
maxmilton Jun 24, 2024
693204a
chore: Migrate to eslint v9
maxmilton Jun 24, 2024
b41b5b4
chore: Update biome config
maxmilton Jun 24, 2024
31beae6
chore: Simplify lint tasks
maxmilton Jun 24, 2024
8dfcabc
feat: Minify reconciler JS bundles too
maxmilton Jun 24, 2024
957f7a7
test: Rework test tooling
maxmilton Jun 24, 2024
de0926c
test: Workaround for non-conforming behaviour in happy-dom
maxmilton Jun 24, 2024
11b373f
feat: Improve reconciler types
maxmilton Jun 24, 2024
7c7af33
feat: Add `@__NOINLINE__` comments for performance critical functions
maxmilton Jun 24, 2024
6b95ed9
chore: Fix lint error
maxmilton Jun 24, 2024
08ee4e5
Publish `v0.8.0-next.9`
maxmilton Jun 24, 2024
14e0892
chore: Don't show info level lint issues by default
maxmilton Jun 24, 2024
fb981c1
chore: Rework eslint config
maxmilton Jun 24, 2024
7247e68
feat: Refactor Refs type inference in collect function
maxmilton Jun 24, 2024
d322811
Publish `v0.8.0-next.10`
maxmilton Jun 24, 2024
f170ded
chore: Improve CI job concurrency
maxmilton Jun 24, 2024
0681b81
chore: Add CI workflows for NPM package publish automation
maxmilton Jun 26, 2024
179b2c0
chore: Update dependencies
maxmilton Jun 26, 2024
613d2d2
chore: Update and improve CI workflows
maxmilton Jul 1, 2024
a01a468
feat: Add "bun" exports conditions
maxmilton Jul 1, 2024
3731938
Bump version to `0.8.0-next.11`
maxmilton Jul 1, 2024
ed8cb7e
chore: Fix deprecated CI logic
maxmilton Jul 1, 2024
1af4601
chore: Fix missing step in CI workflows
maxmilton Jul 1, 2024
ed420d4
Bump version to `0.8.0-next.12`
maxmilton Jul 1, 2024
d6f9327
chore: Fix CI job name
maxmilton Jul 1, 2024
b9fdbd4
chore: Simplify prebuild cleanup step
maxmilton Jul 2, 2024
06861ce
chore: Fix typos and reorder package key
maxmilton Jul 2, 2024
399c1c2
chore: Tweak VS Code debug launch config
maxmilton Jul 2, 2024
53f6458
chore: Add new `typos` CI workflow
maxmilton Jul 2, 2024
53c8aa6
chore: Update dependencies
maxmilton Jul 6, 2024
9356ed8
chore: Better timing feedback in build
maxmilton Jul 6, 2024
3a69abd
test: Simplify test tooling
maxmilton Jul 6, 2024
70d50de
chore: Update CI semgrep image
maxmilton Jul 13, 2024
c0304c1
chore: Update dependencies
maxmilton Jul 13, 2024
5766a24
chore: Verify codeclimate test-reporter bin in CI
maxmilton Jul 13, 2024
8ac8c76
bug: Don't mangle $$refs in browser builds
maxmilton Jul 13, 2024
ba91058
feat: Allow passing a type to `html` function in browser build
maxmilton Jul 13, 2024
cdd7b2c
Bump version
maxmilton Jul 13, 2024
07d3889
chore: Tweak lint configs
maxmilton Jul 15, 2024
b5971b4
chore: Update lockfile
maxmilton Jul 15, 2024
8d0625f
chore: Fix lint issues
maxmilton Jul 15, 2024
08dfc0f
test: Improve tooling and add more tests
maxmilton Jul 15, 2024
be48230
test: Add more tests
maxmilton Jul 15, 2024
1ab7670
test: Remove bad value
maxmilton Jul 15, 2024
85c5d5e
chore: Use e2e github reporter in CI
maxmilton Jul 15, 2024
ba48134
chore: Add new TypeScript config options
maxmilton Oct 27, 2024
ec316fe
chore: Refactor and update dependencies
maxmilton Oct 27, 2024
adea824
chore: Rework ESLint config
maxmilton Oct 27, 2024
4fd17bb
chore: Rework Biome config
maxmilton Oct 27, 2024
4394e5f
fix: Add missing sourcemap links
maxmilton Oct 27, 2024
60ab6a5
test: Refactor tests to use new `@maxmilton/test-utils` package
maxmilton Oct 27, 2024
41173e3
chore: Tweak tooling configs
maxmilton Nov 29, 2024
1b25690
chore: Update dependencies
maxmilton Nov 29, 2024
7bff8a7
feat: Rename and add new util functions
maxmilton Nov 29, 2024
d3f416d
test: Fix expected element instance in test
maxmilton Nov 29, 2024
e32fac9
Publish `v0.8.0-next.14`
maxmilton Nov 29, 2024
bc7cbb7
chore: Update dependencies
maxmilton Dec 1, 2024
6aa9b34
feat: Add new `replace` util function
maxmilton Dec 1, 2024
16d417b
Publish `v0.8.0-next.15`
maxmilton Dec 1, 2024
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
43 changes: 0 additions & 43 deletions .eslintrc.cjs

This file was deleted.

61 changes: 43 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,62 @@
name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
branches: [master, next]
paths-ignore: ['**.md']
pull_request: {}
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: oven-sh/setup-bun@v2
with:
node-version: 18
- run: npm install --global pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm run test
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run test --coverage-reporter=lcov --coverage-reporter=text
- name: Report coverage
if: ${{ github.repository_owner == 'maxmilton' }}
run: |
curl -Lo ./cc-test-reporter https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
chmod +x ./cc-test-reporter
./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.json coverage/lcov.info
./cc-test-reporter upload-coverage
curl -LO https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 \
-LO https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64.sha256
grep test-reporter-latest-linux-amd64 test-reporter-latest-linux-amd64.sha256 | shasum -a 256 -c -
mv test-reporter-latest-linux-amd64 test-reporter
chmod +x ./test-reporter
./test-reporter format-coverage -t lcov -o coverage/codeclimate.json coverage/lcov.info
./test-reporter upload-coverage
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
e2e:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun playwright install chromium
- run: bun run build
- run: bun run test:e2e --reporter=github,html
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: oven-sh/setup-bun@v2
with:
node-version: 18
- run: npm install --global pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run lint
10 changes: 7 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: codeql
on:
push:
branches: [master]
pull_request:
branches: [master]
branches: [master, next]
pull_request: {}
workflow_dispatch: {}
schedule:
- cron: '28 6 * * 4'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
actions: read
contents: read
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
id-token: write
steps:
- name: Check valid version tag
run: |
[[ "${{ github.ref }}" =~ ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+(-next.[0-9]+)? ]] || exit 1
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run lint
- run: bun run test
- uses: actions/setup-node@v4
with:
node-version: latest
registry-url: 'https://registry.npmjs.org'
- name: Determine npm tag
run: |
if [[ "${{ github.ref }}" == *"-next."* ]]; then
echo "NPM_TAG=next" >> $GITHUB_ENV
else
echo "NPM_TAG=latest" >> $GITHUB_ENV
fi
- run: npm publish --provenance --access public --tag ${{ env.NPM_TAG }}
shell: bash
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release
on:
push:
tags: [v*.*.*]
jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run lint
- run: bun run test
- run: gh release create "${{ github.ref_name }}" --draft --generate-notes
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 9 additions & 5 deletions .github/workflows/semgrep-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,28 @@ name: semgrep
on:
push:
branches: [master, next]
pull_request:
branches: [master, next]
pull_request: {}
workflow_dispatch: {}
schedule:
- cron: '28 6 * * 4'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 5
container:
image: returntocorp/semgrep
image: semgrep/semgrep
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- run: semgrep ci --sarif --output=semgrep.sarif || true
- run: semgrep ci --sarif > semgrep.sarif
env:
SEMGREP_RULES: p/default
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
- uses: github/codeql-action/upload-sarif@v3
if: always()
with:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: typos
on:
push:
branches: [master, next]
pull_request: {}
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
typos:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
*-lock.json*
*-lock.yaml
*.bak
*.lock
*.log
/coverage/
dist
node_modules
/dist/
/node_modules/
/playwright-report/
/test-results/
14 changes: 0 additions & 14 deletions .prettierrc

This file was deleted.

4 changes: 3 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"recommendations": [
"biomejs.biome",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
"oven.bun-vscode",
"tekumara.typos-vscode"
]
}
40 changes: 10 additions & 30 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,21 @@
// https://code.visualstudio.com/docs/editor/debugging#_launch-configurations
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach by Process ID",
"type": "pwa-node",
"processId": "${command:PickProcess}",
"name": "Attach to Bun",
"type": "bun",
"request": "attach",
"sourceMaps": true,
"skipFiles": ["<node_internals>/**"],
"smartStep": true
// use `bun --inspect` to open a debug port
"url": "ws://localhost:6499/"
},
// https://github.com/Microsoft/vscode-recipes/tree/master/debugging-jest-tests
{
"name": "uvu All",
"type": "pwa-node",
"name": "bun test <CURRENT_FILE>",
"type": "bun",
"request": "launch",
"sourceMaps": true,
"skipFiles": [
"<node_internals>/**",
"${workspaceFolder}/node_modules/uvu/**"
],
"program": "${workspaceFolder}/node_modules/uvu/bin.js",
"args": ["-r", "tsm", "./test", "\\.test\\.ts$"],
"console": "integratedTerminal"
},
{
"name": "uvu Current File",
"type": "pwa-node",
"request": "launch",
"sourceMaps": true,
"skipFiles": [
"<node_internals>/**",
"${workspaceFolder}/node_modules/uvu/**"
],
"args": ["-r", "tsm", "${relativeFile}"],
"console": "integratedTerminal"
"runtimeArgs": ["test"],
"program": "${file}",
"internalConsoleOptions": "openOnSessionStart"
}
// TODO: Add a way to run all tests
]
}
36 changes: 21 additions & 15 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": false,
"eslint.lintTask.options": "--ignore-path .gitignore",
"git.branchProtection": ["master"],
"eslint.format.enable": false,
"eslint.useFlatConfig": true,
"git.branchProtection": ["master", "next"],
"js/ts.implicitProjectConfig.checkJs": true,
"prettier.ignorePath": ".gitignore",
"prettier.enable": false, // use biome instead
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.format.enable": false,
"typescript.tsdk": "node_modules/typescript/lib",
"[javascript]": {

"[css][html][json][jsonc][markdown][scss][xml]": {
"editor.codeActionsOnSave": {
"source.sortImports": true,
"source.fixAll": true
}
"source.fixAll": "explicit",
"quickfix.biome": "explicit"
},
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"[javascript][typescript]": {
"editor.codeActionsOnSave": {
"source.sortImports": true,
"source.fixAll": true
}
"source.sortImports": "never",
"source.organizeImports": "never",
"source.organizeImports.biome": "explicit",
"source.fixAll": "never",
"source.fixAll.eslint": "never",
"quickfix.biome": "explicit"
},
"editor.defaultFormatter": "biomejs.biome"
}
}
Loading
Loading