chore: Add eslint-config-biome

Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
Sidharth Vinod
2024-06-24 14:25:41 +05:30
parent 48303a030d
commit 422b8cd078
3 changed files with 16 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ module.exports = {
'plugin:json/recommended', 'plugin:json/recommended',
'plugin:markdown/recommended-legacy', 'plugin:markdown/recommended-legacy',
'plugin:@cspell/recommended', 'plugin:@cspell/recommended',
'prettier', 'biome',
], ],
plugins: [ plugins: [
'@typescript-eslint', '@typescript-eslint',

View File

@@ -52,8 +52,14 @@
"author": "Knut Sveidqvist", "author": "Knut Sveidqvist",
"license": "MIT", "license": "MIT",
"standard": { "standard": {
"ignore": ["**/parser/*.js", "dist/**/*.js", "cypress/**/*.js"], "ignore": [
"globals": ["page"] "**/parser/*.js",
"dist/**/*.js",
"cypress/**/*.js"
],
"globals": [
"page"
]
}, },
"devDependencies": { "devDependencies": {
"@applitools/eyes-cypress": "^3.42.3", "@applitools/eyes-cypress": "^3.42.3",
@@ -86,7 +92,7 @@
"cypress-image-snapshot": "^4.0.1", "cypress-image-snapshot": "^4.0.1",
"esbuild": "^0.20.2", "esbuild": "^0.20.2",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-biome": "^1.7.3",
"eslint-plugin-cypress": "^2.15.1", "eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-html": "^8.0.0", "eslint-plugin-html": "^8.0.0",
"eslint-plugin-jest": "^27.9.0", "eslint-plugin-jest": "^27.9.0",

17
pnpm-lock.yaml generated
View File

@@ -98,9 +98,9 @@ importers:
eslint: eslint:
specifier: ^8.57.0 specifier: ^8.57.0
version: 8.57.0 version: 8.57.0
eslint-config-prettier: eslint-config-biome:
specifier: ^9.1.0 specifier: ^1.7.3
version: 9.1.0(eslint@8.57.0) version: 1.7.3
eslint-plugin-cypress: eslint-plugin-cypress:
specifier: ^2.15.1 specifier: ^2.15.1
version: 2.15.2(eslint@8.57.0) version: 2.15.2(eslint@8.57.0)
@@ -4867,11 +4867,8 @@ packages:
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
hasBin: true hasBin: true
eslint-config-prettier@9.1.0: eslint-config-biome@1.7.3:
resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} resolution: {integrity: sha512-HX8asstXGCOnTy8asvBhVesnkdvbX9OR6cRtE+vtDYokCzfy16OTzFpkGruYPcclUgSRs6VCDpR5ocJw3gpCXA==}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
eslint-plugin-cypress@2.15.2: eslint-plugin-cypress@2.15.2:
resolution: {integrity: sha512-CtcFEQTDKyftpI22FVGpx8bkpKyYXBlNge6zSo0pl5/qJvBAnzaD76Vu2AsP16d6mTj478Ldn2mhgrWV+Xr0vQ==} resolution: {integrity: sha512-CtcFEQTDKyftpI22FVGpx8bkpKyYXBlNge6zSo0pl5/qJvBAnzaD76Vu2AsP16d6mTj478Ldn2mhgrWV+Xr0vQ==}
@@ -14915,9 +14912,7 @@ snapshots:
optionalDependencies: optionalDependencies:
source-map: 0.1.43 source-map: 0.1.43
eslint-config-prettier@9.1.0(eslint@8.57.0): eslint-config-biome@1.7.3: {}
dependencies:
eslint: 8.57.0
eslint-plugin-cypress@2.15.2(eslint@8.57.0): eslint-plugin-cypress@2.15.2(eslint@8.57.0):
dependencies: dependencies: