Skip to content

Commit 90a64fe

Browse files
committed
fix: remove prettier from eslint config to fix lint error
1 parent 9158c96 commit 90a64fe

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.eslintrc.cjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ module.exports = {
1212
extends: [
1313
'plugin:@typescript-eslint/recommended',
1414
'eslint:recommended',
15-
'plugin:prettier/recommended',
16-
'prettier'
15+
// 'plugin:prettier/recommended',
16+
// 'prettier'
1717
],
1818
rules: {
1919
// we need this for isomorphic code unfortunately
@@ -26,6 +26,7 @@ module.exports = {
2626
'@typescript-eslint/no-explicit-any': 'off',
2727
'no-unused-vars': 'off',
2828
'no-undef': 'off',
29-
'no-redeclare': 'off'
29+
'no-redeclare': 'off',
30+
'no-mixed-spaces-and-tabs': 'off'
3031
}
3132
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"lint:all:eslint": "pnpm lint:eslint --ext .ts,.js,.mjs,.cjs \"{src,test}/**/*.{js,json,ts}\"",
3434
"lint:all:prettier": "pnpm lint:prettier \"{src,test,examples}/**/*.{js,json,ts}\"",
3535
"lint:eslint": "eslint --fix",
36-
"lint:prettier": "prettier --write --loglevel warn",
36+
"lint:prettier": "prettier --write --log-level warn",
3737
"prepublishOnly": "pnpm lint && pnpm test",
3838
"release": "np",
3939
"test": "vitest run",

src/transform/artifacts/cache.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ export async function upsertArtifacts(
8989
const uploadedBatches = await batchedArtifactsUpload(artifactsToUpload, secretApiKey, projectId)
9090
log.info(
9191
'storage',
92-
`Pushed ${artifactsToUpload.length} artifacts in ${
93-
uploadedBatches?.length
94-
} batches to the Flytrap API. Payload Size: ${formatBytes(
92+
`Pushed ${
93+
artifactsToUpload.length
94+
} artifacts in ${uploadedBatches?.length} batches to the Flytrap API. Payload Size: ${formatBytes(
9595
JSON.stringify(artifactsToUpload).length
9696
)}`
9797
)

0 commit comments

Comments
 (0)