corvée(outils) màj les dépendances + la configuration d'oxlint
This commit is contained in:
parent
e0639c770b
commit
223234f581
4 changed files with 58 additions and 37 deletions
|
|
@ -1,7 +1,27 @@
|
|||
{
|
||||
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
||||
"env": { "browser": true, "es2020": true, "es2022": true },
|
||||
"settings": {
|
||||
"categories": {
|
||||
"correctness": "error",
|
||||
"nursery": "error",
|
||||
"pedantic": "error",
|
||||
"perf": "warn",
|
||||
"restriction": "error",
|
||||
"style": "warn",
|
||||
"suspicious": "error"
|
||||
},
|
||||
"plugins": [
|
||||
"eslint-plugin-jsdoc",
|
||||
"eslint-plugin-promise",
|
||||
"eslint-plugin-unicorn",
|
||||
"jsdoc",
|
||||
"oxc-security",
|
||||
"oxc",
|
||||
"promise",
|
||||
"security",
|
||||
"typescript-eslint",
|
||||
"typescript",
|
||||
"unicorn"
|
||||
],
|
||||
"rules": { "import/export": "error", "typescript/consistent-type-imports": "error" }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ export default tseslint.config(
|
|||
perfectionist.configs["recommended-natural"],
|
||||
...tseslint.configs.strictTypeChecked,
|
||||
...tseslint.configs.stylisticTypeChecked,
|
||||
// @ts-expect-error -- Erreur inévitable pour le moment.
|
||||
oxlint.configs["flat/recommended"],
|
||||
{
|
||||
files: ["*.js", "web/app/themes/haiku-atelier-2024/src/**/*.ts"],
|
||||
|
|
|
|||
|
|
@ -8,12 +8,14 @@
|
|||
"packageManager": "pnpm@9.12.2",
|
||||
"main": "index.js",
|
||||
"keywords": [],
|
||||
"scripts": { "test": "echo \"Error: no test specified\" && exit 1" },
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mobily/ts-belt": "4.0.0-rc.5",
|
||||
"@sentry/browser": "8.35.0",
|
||||
"a11y-dialog": "^8.1.1",
|
||||
"effect": "^3.10.1",
|
||||
"effect": "^3.10.2",
|
||||
"purify-ts": "^2.1.0",
|
||||
"ts-pattern": "^5.5.0",
|
||||
"valibot": "1.0.0-beta.0"
|
||||
|
|
@ -39,7 +41,7 @@
|
|||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-pkg": "^0.18.1",
|
||||
"prettier-plugin-sh": "^0.14.0",
|
||||
"sass": "^1.80.3",
|
||||
"sass": "^1.80.4",
|
||||
"stylelint": "^16.10.0",
|
||||
"stylelint-config-clean-order": "^6.1.0",
|
||||
"stylelint-config-sass-guidelines": "^12.1.0",
|
||||
|
|
|
|||
64
pnpm-lock.yaml
generated
64
pnpm-lock.yaml
generated
|
|
@ -18,8 +18,8 @@ importers:
|
|||
specifier: ^8.1.1
|
||||
version: 8.1.1
|
||||
effect:
|
||||
specifier: ^3.10.1
|
||||
version: 3.10.1
|
||||
specifier: ^3.10.2
|
||||
version: 3.10.2
|
||||
purify-ts:
|
||||
specifier: ^2.1.0
|
||||
version: 2.1.0
|
||||
|
|
@ -91,8 +91,8 @@ importers:
|
|||
specifier: ^0.14.0
|
||||
version: 0.14.0(prettier@3.3.3)
|
||||
sass:
|
||||
specifier: ^1.80.3
|
||||
version: 1.80.3
|
||||
specifier: ^1.80.4
|
||||
version: 1.80.4
|
||||
stylelint:
|
||||
specifier: ^16.10.0
|
||||
version: 16.10.0(typescript@5.7.0-dev.20241017)
|
||||
|
|
@ -119,16 +119,16 @@ importers:
|
|||
version: 8.11.0(eslint@9.13.0)(typescript@5.7.0-dev.20241017)
|
||||
vite:
|
||||
specifier: ^5.4.10
|
||||
version: 5.4.10(@types/node@22.7.9)(sass@1.80.3)
|
||||
version: 5.4.10(@types/node@22.7.9)(sass@1.80.4)
|
||||
vite-plugin-manifest-sri:
|
||||
specifier: ^0.2.0
|
||||
version: 0.2.0
|
||||
vite-plugin-valibot-env:
|
||||
specifier: ^0.8.1
|
||||
version: 0.8.1(valibot@1.0.0-beta.0(typescript@5.7.0-dev.20241017))(vite@5.4.10(@types/node@22.7.9)(sass@1.80.3))
|
||||
version: 0.8.1(valibot@1.0.0-beta.0(typescript@5.7.0-dev.20241017))(vite@5.4.10(@types/node@22.7.9)(sass@1.80.4))
|
||||
vite-tsconfig-paths:
|
||||
specifier: ^5.0.1
|
||||
version: 5.0.1(typescript@5.7.0-dev.20241017)(vite@5.4.10(@types/node@22.7.9)(sass@1.80.3))
|
||||
version: 5.0.1(typescript@5.7.0-dev.20241017)(vite@5.4.10(@types/node@22.7.9)(sass@1.80.4))
|
||||
wp-types:
|
||||
specifier: ^4.66.1
|
||||
version: 4.66.1
|
||||
|
|
@ -280,8 +280,8 @@ packages:
|
|||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@csstools/css-parser-algorithms@3.0.2':
|
||||
resolution: {integrity: sha512-6tC/MnlEvs5suR4Ahef4YlBccJDHZuxGsAlxXmybWjZ5jPxlzLSMlRZ9mVHSRvlD+CmtE7+hJ+UQbfXrws/rUQ==}
|
||||
'@csstools/css-parser-algorithms@3.0.3':
|
||||
resolution: {integrity: sha512-15WQTALDyxAwSgAvLt7BksAssiSrNNhTv4zM7qX9U6R7FtpNskVVakzWQlYODlwPwXhGpKPmB10LM943pxMe7w==}
|
||||
engines: {node: '>=18'}
|
||||
peerDependencies:
|
||||
'@csstools/css-tokenizer': ^3.0.2
|
||||
|
|
@ -1247,11 +1247,11 @@ packages:
|
|||
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
|
||||
engines: {node: '>=8'}
|
||||
|
||||
effect@3.10.1:
|
||||
resolution: {integrity: sha512-Ny0I3WvGykUnlgmQVkNVbkXHE/pPTWVwmnYfpVZYyLlpe53LVyWViY9+a/7iS/Rqml0xUwJoXx5HK6ksK09Y2Q==}
|
||||
effect@3.10.2:
|
||||
resolution: {integrity: sha512-Sj73q9jwwR4t3WV6E0sw4KMhx0fAHebXavYS5rsHLrWKcf4fzhDh6IixJB6mDhT7rEax/9UsoYjzrc1p7VLwbw==}
|
||||
|
||||
electron-to-chromium@1.5.43:
|
||||
resolution: {integrity: sha512-NxnmFBHDl5Sachd2P46O7UJiMaMHMLSofoIWVJq3mj8NJgG0umiSeljAVP9lGzjI0UDLJJ5jjoGjcrB8RSbjLQ==}
|
||||
electron-to-chromium@1.5.45:
|
||||
resolution: {integrity: sha512-vOzZS6uZwhhbkZbcRyiy99Wg+pYFV5hk+5YaECvx0+Z31NR3Tt5zS6dze2OepT6PCTzVzT0dIJItti+uAW5zmw==}
|
||||
|
||||
emoji-regex@8.0.0:
|
||||
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
|
||||
|
|
@ -1967,8 +1967,8 @@ packages:
|
|||
safe-buffer@5.2.1:
|
||||
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
|
||||
|
||||
sass@1.80.3:
|
||||
resolution: {integrity: sha512-ptDWyVmDMVielpz/oWy3YP3nfs7LpJTHIJZboMVs8GEC9eUmtZTZhMHlTW98wY4aEorDfjN38+Wr/XjskFWcfA==}
|
||||
sass@1.80.4:
|
||||
resolution: {integrity: sha512-rhMQ2tSF5CsuuspvC94nPM9rToiAFw2h3JTrLlgmNw1MH79v8Cr3DH6KF6o6r+8oofY3iYVPUf66KzC8yuVN1w==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
hasBin: true
|
||||
|
||||
|
|
@ -2442,15 +2442,15 @@ snapshots:
|
|||
'@biomejs/cli-win32-x64@1.9.4':
|
||||
optional: true
|
||||
|
||||
'@csstools/css-parser-algorithms@3.0.2(@csstools/css-tokenizer@3.0.2)':
|
||||
'@csstools/css-parser-algorithms@3.0.3(@csstools/css-tokenizer@3.0.2)':
|
||||
dependencies:
|
||||
'@csstools/css-tokenizer': 3.0.2
|
||||
|
||||
'@csstools/css-tokenizer@3.0.2': {}
|
||||
|
||||
'@csstools/media-query-list-parser@3.0.1(@csstools/css-parser-algorithms@3.0.2(@csstools/css-tokenizer@3.0.2))(@csstools/css-tokenizer@3.0.2)':
|
||||
'@csstools/media-query-list-parser@3.0.1(@csstools/css-parser-algorithms@3.0.3(@csstools/css-tokenizer@3.0.2))(@csstools/css-tokenizer@3.0.2)':
|
||||
dependencies:
|
||||
'@csstools/css-parser-algorithms': 3.0.2(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/css-parser-algorithms': 3.0.3(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/css-tokenizer': 3.0.2
|
||||
|
||||
'@csstools/selector-specificity@4.0.0(postcss-selector-parser@6.1.2)':
|
||||
|
|
@ -2861,9 +2861,9 @@ snapshots:
|
|||
|
||||
'@stylistic/stylelint-plugin@3.1.1(stylelint@16.10.0(typescript@5.7.0-dev.20241017))':
|
||||
dependencies:
|
||||
'@csstools/css-parser-algorithms': 3.0.2(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/css-parser-algorithms': 3.0.3(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/css-tokenizer': 3.0.2
|
||||
'@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.2(@csstools/css-tokenizer@3.0.2))(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.3(@csstools/css-tokenizer@3.0.2))(@csstools/css-tokenizer@3.0.2)
|
||||
is-plain-object: 5.0.0
|
||||
postcss-selector-parser: 6.1.2
|
||||
postcss-value-parser: 4.2.0
|
||||
|
|
@ -3158,7 +3158,7 @@ snapshots:
|
|||
browserslist@4.24.2:
|
||||
dependencies:
|
||||
caniuse-lite: 1.0.30001669
|
||||
electron-to-chromium: 1.5.43
|
||||
electron-to-chromium: 1.5.45
|
||||
node-releases: 2.0.18
|
||||
update-browserslist-db: 1.1.1(browserslist@4.24.2)
|
||||
|
||||
|
|
@ -3273,11 +3273,11 @@ snapshots:
|
|||
dependencies:
|
||||
path-type: 4.0.0
|
||||
|
||||
effect@3.10.1:
|
||||
effect@3.10.2:
|
||||
dependencies:
|
||||
fast-check: 3.22.0
|
||||
|
||||
electron-to-chromium@1.5.43: {}
|
||||
electron-to-chromium@1.5.45: {}
|
||||
|
||||
emoji-regex@8.0.0: {}
|
||||
|
||||
|
|
@ -3950,7 +3950,7 @@ snapshots:
|
|||
|
||||
safe-buffer@5.2.1: {}
|
||||
|
||||
sass@1.80.3:
|
||||
sass@1.80.4:
|
||||
dependencies:
|
||||
'@parcel/watcher': 2.4.1
|
||||
chokidar: 4.0.1
|
||||
|
|
@ -4101,9 +4101,9 @@ snapshots:
|
|||
|
||||
stylelint@16.10.0(typescript@5.7.0-dev.20241017):
|
||||
dependencies:
|
||||
'@csstools/css-parser-algorithms': 3.0.2(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/css-parser-algorithms': 3.0.3(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/css-tokenizer': 3.0.2
|
||||
'@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.2(@csstools/css-tokenizer@3.0.2))(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.3(@csstools/css-tokenizer@3.0.2))(@csstools/css-tokenizer@3.0.2)
|
||||
'@csstools/selector-specificity': 4.0.0(postcss-selector-parser@6.1.2)
|
||||
'@dual-bundle/import-meta-resolve': 4.1.0
|
||||
balanced-match: 2.0.0
|
||||
|
|
@ -4232,25 +4232,25 @@ snapshots:
|
|||
|
||||
vite-plugin-manifest-sri@0.2.0: {}
|
||||
|
||||
vite-plugin-valibot-env@0.8.1(valibot@1.0.0-beta.0(typescript@5.7.0-dev.20241017))(vite@5.4.10(@types/node@22.7.9)(sass@1.80.3)):
|
||||
vite-plugin-valibot-env@0.8.1(valibot@1.0.0-beta.0(typescript@5.7.0-dev.20241017))(vite@5.4.10(@types/node@22.7.9)(sass@1.80.4)):
|
||||
dependencies:
|
||||
kleur: 4.1.5
|
||||
log-symbols: 7.0.0
|
||||
valibot: 1.0.0-beta.0(typescript@5.7.0-dev.20241017)
|
||||
vite: 5.4.10(@types/node@22.7.9)(sass@1.80.3)
|
||||
vite: 5.4.10(@types/node@22.7.9)(sass@1.80.4)
|
||||
|
||||
vite-tsconfig-paths@5.0.1(typescript@5.7.0-dev.20241017)(vite@5.4.10(@types/node@22.7.9)(sass@1.80.3)):
|
||||
vite-tsconfig-paths@5.0.1(typescript@5.7.0-dev.20241017)(vite@5.4.10(@types/node@22.7.9)(sass@1.80.4)):
|
||||
dependencies:
|
||||
debug: 4.3.7
|
||||
globrex: 0.1.2
|
||||
tsconfck: 3.1.4(typescript@5.7.0-dev.20241017)
|
||||
optionalDependencies:
|
||||
vite: 5.4.10(@types/node@22.7.9)(sass@1.80.3)
|
||||
vite: 5.4.10(@types/node@22.7.9)(sass@1.80.4)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
- typescript
|
||||
|
||||
vite@5.4.10(@types/node@22.7.9)(sass@1.80.3):
|
||||
vite@5.4.10(@types/node@22.7.9)(sass@1.80.4):
|
||||
dependencies:
|
||||
esbuild: 0.21.5
|
||||
postcss: 8.4.47
|
||||
|
|
@ -4258,7 +4258,7 @@ snapshots:
|
|||
optionalDependencies:
|
||||
'@types/node': 22.7.9
|
||||
fsevents: 2.3.3
|
||||
sass: 1.80.3
|
||||
sass: 1.80.4
|
||||
|
||||
which@1.3.1:
|
||||
dependencies:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue