Added rome to frontend
This commit is contained in:
parent
da00ecf8c1
commit
39d2dc6efb
@ -5,9 +5,12 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": " tsc && vite build --watch",
|
||||
"build": "tsc && vite build"
|
||||
"build": "tsc && vite build",
|
||||
"lint": "rome check .",
|
||||
"format": "rome format . --write"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rome": "^11.0.0",
|
||||
"typescript": "^4.9.3",
|
||||
"vite": "^4.1.0",
|
||||
"vite-plugin-singlefile": "^0.13.3"
|
||||
|
64
frontend/pnpm-lock.yaml
generated
64
frontend/pnpm-lock.yaml
generated
@ -1,6 +1,7 @@
|
||||
lockfileVersion: 5.4
|
||||
|
||||
specifiers:
|
||||
rome: ^11.0.0
|
||||
typescript: ^4.9.3
|
||||
vite: ^4.1.0
|
||||
vite-plugin-singlefile: ^0.13.3
|
||||
@ -10,6 +11,7 @@ dependencies:
|
||||
xterm: 5.1.0
|
||||
|
||||
devDependencies:
|
||||
rome: 11.0.0
|
||||
typescript: 4.9.5
|
||||
vite: 4.1.4
|
||||
vite-plugin-singlefile: 0.13.3_vite@4.1.4
|
||||
@ -214,6 +216,54 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@rometools/cli-darwin-arm64/11.0.0:
|
||||
resolution: {integrity: sha512-F3vkdY+s3FLIEnAjSbyHTuIPB88cLpccimW4ecid5I7S6GzGG3iUJI4xT00JhH73K4P/qW20/9r+kH1T9Du8Xg==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@rometools/cli-darwin-x64/11.0.0:
|
||||
resolution: {integrity: sha512-X6jhtS6Iml4GOzgNtnLwIp/KXXhSdqeVyfv69m/AHnIzx3gQAjPZ7BPnJLvTCbhe4SKHL+uTZYFSCJpkUUKE6w==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@rometools/cli-linux-arm64/11.0.0:
|
||||
resolution: {integrity: sha512-dktTJJlTpmycBZ2TwhJBcAO8ztK8DdevdyZnFFxdYRvtmJgTjIsC2UFayf/SbKew8B8q1IhI0it+D6ihAeIpeg==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@rometools/cli-linux-x64/11.0.0:
|
||||
resolution: {integrity: sha512-WVcnXPNdWGUWo0p4NU8YzuthjYR7q+b4vRcjdxtP1DlpphZmSsoC/RSE85nEqRAz8hChcKUansVzOPM8BSsuGA==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@rometools/cli-win32-arm64/11.0.0:
|
||||
resolution: {integrity: sha512-tPj6RThQzS7Q45jqQll7NlTYvNcsg/BEP3LYiiazqSh9FAFnMkrV6ewUcMPKWyAfiyLs7jlz4rRvdNRUSygzfQ==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@rometools/cli-win32-x64/11.0.0:
|
||||
resolution: {integrity: sha512-bmBai8WHxYjsGk1+je7ZTfCUCWq30WJI3pQM8pzTA674lfGTZ9ymJoZwTaIMSO4rL5V9mlO6uLunsBKso9VqOg==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/braces/3.0.2:
|
||||
resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}
|
||||
engines: {node: '>=8'}
|
||||
@ -341,6 +391,20 @@ packages:
|
||||
fsevents: 2.3.2
|
||||
dev: true
|
||||
|
||||
/rome/11.0.0:
|
||||
resolution: {integrity: sha512-rRo6JOwpMLc3OkeTDRXkrmrDqnxDvZ75GS4f0jLDBNmRgDXWbu0F8eVnJoRn+VbK2AE7vWvhVOMBjnWowcopkQ==}
|
||||
engines: {node: '>=14.*'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@rometools/cli-darwin-arm64': 11.0.0
|
||||
'@rometools/cli-darwin-x64': 11.0.0
|
||||
'@rometools/cli-linux-arm64': 11.0.0
|
||||
'@rometools/cli-linux-x64': 11.0.0
|
||||
'@rometools/cli-win32-arm64': 11.0.0
|
||||
'@rometools/cli-win32-x64': 11.0.0
|
||||
dev: true
|
||||
|
||||
/source-map-js/1.0.2:
|
||||
resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
9
frontend/rome.json
Normal file
9
frontend/rome.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "./node_modules/rome/configuration_schema.json",
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user