Skip to content

Commit 088e9da

Browse files
committed
chore: replace eslint with biome/lint
1 parent cf18353 commit 088e9da

File tree

14 files changed

+11
-140
lines changed

14 files changed

+11
-140
lines changed

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 53 deletions
This file was deleted.

examples/http-socketio-server/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"license": "ISC",
1212
"dependencies": {
1313
"cookie-parser": "^1.4.5",
14-
"eslint": "^7.31.0",
15-
"eslint-config-airbnb-base": "^14.2.1",
16-
"eslint-plugin-import": "^2.23.4",
1714
"express": "^4.17.1",
1815
"socket.io": "^3.1.2"
1916
}

examples/k8s-testing-with-kubectl-artillery/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"license": "ISC",
1212
"dependencies": {
1313
"cookie-parser": "^1.4.5",
14-
"eslint": "^7.31.0",
15-
"eslint-config-airbnb-base": "^14.2.1",
16-
"eslint-plugin-import": "^2.23.4",
1714
"express": "^4.17.1"
1815
}
1916
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"prepare": "npx simple-git-hooks"
1414
},
1515
"devDependencies": {
16+
"@biomejs/biome": "^2.3.3",
1617
"@commitlint/cli": "^9.1.2",
1718
"@commitlint/config-conventional": "^7.6.0",
1819
"lint-staged": "^13.2.3",
@@ -26,7 +27,7 @@
2627
},
2728
"lint-staged": {
2829
"**/*.{js,jsx,ts,tsx}": [
29-
"eslint --fix",
30+
"npx @biomejs/biome check --write --files-ignore-unknown=true --no-errors-on-unmatched",
3031
"prettier --write"
3132
],
3233
"**/*.json": [

packages/artillery-plugin-expect/.eslintrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/artillery/.eslintrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/artillery/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
"test:aws": "tap --timeout=4200 test/cloud-e2e/**/*.test.js",
6161
"test:aws:ci": "tap --timeout=4200",
6262
"test:aws:windows": "tap --timeout=420 test/cloud-e2e/**/*.test.js --grep \"@windows\"",
63-
"lint": "eslint --ext \".js,.ts,.tsx\" .",
64-
"lint-fix": "npm run lint -- --fix"
63+
"lint": "npx @biomejs/biome check .",
64+
"lint-fix": "npx @biomejs/biome check --write ."
6565
},
6666
"tap": {
6767
"disable-coverage": true,
@@ -72,7 +72,7 @@
7272
]
7373
},
7474
"lint-staged": {
75-
"**/*.{js,ts,tsx}": "eslint --fix"
75+
"**/*.{js,ts,tsx}": "npx @biomejs/biome check --write --files-ignore-unknown=true --no-errors-on-unmatched"
7676
},
7777
"keywords": [
7878
"load testing",
@@ -162,10 +162,8 @@
162162
},
163163
"devDependencies": {
164164
"@aws-sdk/client-xray": "^3.879.0",
165+
"@biomejs/biome": "^2.3.3",
165166
"@hapi/hapi": "^20.1.3",
166-
"eslint": "^8.6.0",
167-
"eslint-config-prettier": "^8.3.0",
168-
"eslint-plugin-prettier": "^4.2.1",
169167
"execa": "^0.10.0",
170168
"get-bin-path": "^5.1.0",
171169
"rewiremock": "^3.14.3",

packages/commons/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"ms": "^2.1.3"
1515
},
1616
"scripts": {
17-
"lint": "eslint --ext \".js,.ts,.tsx\" .",
18-
"lint-fix": "npm run lint -- --fix",
17+
"lint": "npx @biomejs/biome check .",
18+
"lint-fix": "npx @biomejs/biome check --write .",
1919
"test": "echo \"No test specified\" && exit 0"
2020
}
2121
}

packages/core/.eslintrc

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)