chore: migrate to oxlint

oxlint
Rich Harris 6 months ago
parent 92e6721c03
commit d211bd4486

File diff suppressed because it is too large Load Diff

@ -16,7 +16,7 @@
"scripts": {
"build": "pnpm -r --filter=./packages/* build",
"check": "cd packages/svelte && pnpm build && cd ../../ && pnpm -r check",
"lint": "eslint && prettier --check .",
"lint": "oxlint && prettier --check .",
"format": "prettier --write .",
"test": "vitest run",
"changeset:version": "changeset version && pnpm -r generate:version && git add --all",
@ -27,15 +27,18 @@
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@stylistic/eslint-plugin": "^5.7.1",
"@sveltejs/eslint-config": "^8.3.3",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@types/node": "^20.11.5",
"@types/picomatch": "^4.0.2",
"@vitest/coverage-v8": "^2.1.9",
"eslint": "^9.9.1",
"eslint-plugin-custom": "^0.0.6",
"eslint-plugin-lube": "^0.4.3",
"eslint-plugin-svelte": "^3.11.0",
"jsdom": "25.0.1",
"oxlint": "^1.42.0",
"playwright": "^1.58.0",
"prettier": "^3.2.4",
"prettier-plugin-svelte": "^3.4.0",

@ -11,6 +11,9 @@ importers:
'@changesets/cli':
specifier: ^2.29.8
version: 2.29.8(@types/node@20.19.17)
'@stylistic/eslint-plugin':
specifier: ^5.7.1
version: 5.7.1(eslint@9.9.1)
'@sveltejs/eslint-config':
specifier: ^8.3.3
version: 8.3.3(@stylistic/eslint-plugin-js@1.8.0(eslint@9.9.1))(eslint-config-prettier@9.1.0(eslint@9.9.1))(eslint-plugin-n@17.16.1(eslint@9.9.1)(typescript@5.5.4))(eslint-plugin-svelte@3.11.0(eslint@9.9.1)(svelte@packages+svelte))(eslint@9.9.1)(typescript-eslint@8.48.1(eslint@9.9.1)(typescript@5.5.4))(typescript@5.5.4)
@ -29,6 +32,9 @@ importers:
eslint:
specifier: ^9.9.1
version: 9.9.1
eslint-plugin-custom:
specifier: ^0.0.6
version: 0.0.6
eslint-plugin-lube:
specifier: ^0.4.3
version: 0.4.3
@ -38,6 +44,9 @@ importers:
jsdom:
specifier: 25.0.1
version: 25.0.1
oxlint:
specifier: ^1.42.0
version: 1.42.0
playwright:
specifier: ^1.58.0
version: 1.58.0
@ -576,6 +585,12 @@ packages:
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
'@eslint-community/eslint-utils@4.9.1':
resolution: {integrity: sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
'@eslint-community/regexpp@4.12.2':
resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
@ -663,6 +678,46 @@ packages:
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
engines: {node: '>= 8'}
'@oxlint/darwin-arm64@1.42.0':
resolution: {integrity: sha512-ui5CdAcDsXPQwZQEXOOSWsilJWhgj9jqHCvYBm2tDE8zfwZZuF9q58+hGKH1x5y0SV4sRlyobB2Quq6uU6EgeA==}
cpu: [arm64]
os: [darwin]
'@oxlint/darwin-x64@1.42.0':
resolution: {integrity: sha512-wo0M/hcpHRv7vFje99zHHqheOhVEwUOKjOgBKyi0M99xcLizv04kcSm1rTd6HSCeZgOtiJYZRVAlKhQOQw2byQ==}
cpu: [x64]
os: [darwin]
'@oxlint/linux-arm64-gnu@1.42.0':
resolution: {integrity: sha512-j4QzfCM8ks+OyM+KKYWDiBEQsm5RCW50H1Wz16wUyoFsobJ+X5qqcJxq6HvkE07m8euYmZelyB0WqsiDoz1v8g==}
cpu: [arm64]
os: [linux]
'@oxlint/linux-arm64-musl@1.42.0':
resolution: {integrity: sha512-g5b1Uw7zo6yw4Ymzyd1etKzAY7xAaGA3scwB8tAp3QzuY7CYdfTwlhiLKSAKbd7T/JBgxOXAGNcLDorJyVTXcg==}
cpu: [arm64]
os: [linux]
'@oxlint/linux-x64-gnu@1.42.0':
resolution: {integrity: sha512-HnD99GD9qAbpV4q9iQil7mXZUJFpoBdDavfcC2CgGLPlawfcV5COzQPNwOgvPVkr7C0cBx6uNCq3S6r9IIiEIg==}
cpu: [x64]
os: [linux]
'@oxlint/linux-x64-musl@1.42.0':
resolution: {integrity: sha512-8NTe8A78HHFn+nBi+8qMwIjgv9oIBh+9zqCPNLH56ah4vKOPvbePLI6NIv9qSkmzrBuu8SB+FJ2TH/G05UzbNA==}
cpu: [x64]
os: [linux]
'@oxlint/win32-arm64@1.42.0':
resolution: {integrity: sha512-lAPS2YAuu+qFqoTNPFcNsxXjwSV0M+dOgAzzVTAN7Yo2ifj+oLOx0GsntWoM78PvQWI7Q827ZxqtU2ImBmDapA==}
cpu: [arm64]
os: [win32]
'@oxlint/win32-x64@1.42.0':
resolution: {integrity: sha512-3/KmyUOHNriL6rLpaFfm9RJxdhpXY2/Ehx9UuorJr2pUA+lrZL15FAEx/DOszYm5r10hfzj40+efAHcCilNvSQ==}
cpu: [x64]
os: [win32]
'@pkgjs/parseargs@0.11.0':
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
engines: {node: '>=14'}
@ -836,6 +891,12 @@ packages:
peerDependencies:
eslint: '>=8.40.0'
'@stylistic/eslint-plugin@5.7.1':
resolution: {integrity: sha512-zjTUwIsEfT+k9BmXwq1QEFYsb4afBlsI1AXFyWQBgggMzwBFOuu92pGrE5OFx90IOjNl+lUbQoTG7f8S0PkOdg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: '>=9.0.0'
'@sveltejs/acorn-typescript@1.0.5':
resolution: {integrity: sha512-IwQk4yfwLdibDlrXVE04jTZYlLnwsTT2PIOQQGNLWfjavGifnk1JD1LcZjZaBTRcxZu2FfPfNLOE04DSu9lqtQ==}
peerDependencies:
@ -940,6 +1001,10 @@ packages:
resolution: {integrity: sha512-+fZ3LZNeiELGmimrujsDCT4CRIbq5oXdHe7chLiW8qzqyPMnn1puNstCrMNVAqwcl2FdIxkuJ4tOs/RFDBVc/Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/types@8.54.0':
resolution: {integrity: sha512-PDUI9R1BVjqu7AUDsRBbKMtwmjWcn4J3le+5LpcFgWULN3LvHC5rkc9gCVxbrsrGmO1jfPybN5s6h4Jy+OnkAA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@8.48.1':
resolution: {integrity: sha512-/9wQ4PqaefTK6POVTjJaYS0bynCgzh6ClJHGSBj06XEHjkfylzB+A3qvyaXnErEZSaxhIo4YdyBgq6j4RysxDg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@ -1289,6 +1354,10 @@ packages:
peerDependencies:
eslint: '>=7.0.0'
eslint-plugin-custom@0.0.6:
resolution: {integrity: sha512-777PTnVYEs4ts9R9f211NqNmo6dtjAc1fXzAYhdWMe+rPgRlYCrkwDPYdh97RRMSgoQsFhPshxyByqnwodnKsg==}
engines: {node: '>=0.10.0'}
eslint-plugin-es-x@7.8.0:
resolution: {integrity: sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ==}
engines: {node: ^14.18.0 || >=16.0.0}
@ -1343,6 +1412,10 @@ packages:
resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
espree@10.4.0:
resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
espree@9.6.1:
resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -1757,6 +1830,9 @@ packages:
lodash.startcase@4.4.0:
resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==}
lodash@4.17.23:
resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==}
loupe@3.2.1:
resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==}
@ -1849,6 +1925,16 @@ packages:
outdent@0.5.0:
resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==}
oxlint@1.42.0:
resolution: {integrity: sha512-qnspC/lrp8FgKNaONLLn14dm+W5t0SSlus6V5NJpgI2YNT1tkFYZt4fBf14ESxf9AAh98WBASnW5f0gtw462Lg==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
peerDependencies:
oxlint-tsgolint: '>=0.11.2'
peerDependenciesMeta:
oxlint-tsgolint:
optional: true
p-filter@2.1.0:
resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==}
engines: {node: '>=8'}
@ -2028,6 +2114,10 @@ packages:
resolution: {integrity: sha512-RSYAtP31mvYLkAHrOlh25pCNQ5hWnT106VukGaaFfuJrZFkGRX5GhUAdPqpSDXxOhA2c4akmRuplv1mRqnBn6Q==}
engines: {node: '>=8'}
requireindex@1.1.0:
resolution: {integrity: sha512-LBnkqsDE7BZKvqylbmn7lTIVdpx4K/QCduRATpO5R+wtPmky/a8pN1bO2D6wXppn1497AJF9mNjqAXr6bdl9jg==}
engines: {node: '>=0.10.5'}
resolve-from@4.0.0:
resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
engines: {node: '>=4'}
@ -2471,6 +2561,7 @@ packages:
whatwg-encoding@3.1.1:
resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==}
engines: {node: '>=18'}
deprecated: Use @exodus/bytes instead for a more spec-conformant and faster implementation
whatwg-mimetype@4.0.0:
resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==}
@ -2865,6 +2956,11 @@ snapshots:
eslint: 9.9.1
eslint-visitor-keys: 3.4.3
'@eslint-community/eslint-utils@4.9.1(eslint@9.9.1)':
dependencies:
eslint: 9.9.1
eslint-visitor-keys: 3.4.3
'@eslint-community/regexpp@4.12.2': {}
'@eslint/config-array@0.18.0':
@ -2970,6 +3066,30 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.16.0
'@oxlint/darwin-arm64@1.42.0':
optional: true
'@oxlint/darwin-x64@1.42.0':
optional: true
'@oxlint/linux-arm64-gnu@1.42.0':
optional: true
'@oxlint/linux-arm64-musl@1.42.0':
optional: true
'@oxlint/linux-x64-gnu@1.42.0':
optional: true
'@oxlint/linux-x64-musl@1.42.0':
optional: true
'@oxlint/win32-arm64@1.42.0':
optional: true
'@oxlint/win32-x64@1.42.0':
optional: true
'@pkgjs/parseargs@0.11.0':
optional: true
@ -3096,6 +3216,16 @@ snapshots:
eslint-visitor-keys: 3.4.3
espree: 9.6.1
'@stylistic/eslint-plugin@5.7.1(eslint@9.9.1)':
dependencies:
'@eslint-community/eslint-utils': 4.9.1(eslint@9.9.1)
'@typescript-eslint/types': 8.54.0
eslint: 9.9.1
eslint-visitor-keys: 4.2.1
espree: 10.4.0
estraverse: 5.3.0
picomatch: 4.0.3
'@sveltejs/acorn-typescript@1.0.5(acorn@8.15.0)':
dependencies:
acorn: 8.15.0
@ -3225,6 +3355,8 @@ snapshots:
'@typescript-eslint/types@8.48.1': {}
'@typescript-eslint/types@8.54.0': {}
'@typescript-eslint/typescript-estree@8.48.1(typescript@5.5.4)':
dependencies:
'@typescript-eslint/project-service': 8.48.1(typescript@5.5.4)
@ -3608,6 +3740,11 @@ snapshots:
dependencies:
eslint: 9.9.1
eslint-plugin-custom@0.0.6:
dependencies:
lodash: 4.17.23
requireindex: 1.1.0
eslint-plugin-es-x@7.8.0(eslint@9.9.1):
dependencies:
'@eslint-community/eslint-utils': 4.9.0(eslint@9.9.1)
@ -3708,6 +3845,12 @@ snapshots:
acorn-jsx: 5.3.2(acorn@8.15.0)
eslint-visitor-keys: 4.2.1
espree@10.4.0:
dependencies:
acorn: 8.15.0
acorn-jsx: 5.3.2(acorn@8.15.0)
eslint-visitor-keys: 4.2.1
espree@9.6.1:
dependencies:
acorn: 8.15.0
@ -4106,6 +4249,8 @@ snapshots:
lodash.startcase@4.4.0: {}
lodash@4.17.23: {}
loupe@3.2.1: {}
lru-cache@10.4.3: {}
@ -4186,6 +4331,17 @@ snapshots:
outdent@0.5.0: {}
oxlint@1.42.0:
optionalDependencies:
'@oxlint/darwin-arm64': 1.42.0
'@oxlint/darwin-x64': 1.42.0
'@oxlint/linux-arm64-gnu': 1.42.0
'@oxlint/linux-arm64-musl': 1.42.0
'@oxlint/linux-x64-gnu': 1.42.0
'@oxlint/linux-x64-musl': 1.42.0
'@oxlint/win32-arm64': 1.42.0
'@oxlint/win32-x64': 1.42.0
p-filter@2.1.0:
dependencies:
p-map: 2.1.0
@ -4327,6 +4483,8 @@ snapshots:
regexparam@3.0.0: {}
requireindex@1.1.0: {}
resolve-from@4.0.0: {}
resolve-from@5.0.0: {}

Loading…
Cancel
Save