From f51ef2fb94e744695f8e004ae6595dc53064050d Mon Sep 17 00:00:00 2001 From: kclark Date: Tue, 27 Feb 2024 10:56:23 +0000 Subject: [PATCH] linting --- k6/.eslintrc.cjs | 11 ++++------- k6/package.json | 6 +++--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/k6/.eslintrc.cjs b/k6/.eslintrc.cjs index fd9840052..9afdc0d9e 100644 --- a/k6/.eslintrc.cjs +++ b/k6/.eslintrc.cjs @@ -1,10 +1,7 @@ /* eslint-env node */ module.exports = { root: true, - extends: [ - 'eslint:recommended', - 'plugin:import/recommended', - ], + extends: ['eslint:recommended', 'plugin:import/recommended'], parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], ignorePatterns: ['node_modules'], @@ -19,11 +16,11 @@ module.exports = { }, ], 'prefer-template': 'error', - 'import/no-unresolved': [ + 'import/no-unresolved': [ 'error', { - ignore: ['k6/*'] - } + ignore: ['k6/*'], + }, ], 'import/order': [ 'error', diff --git a/k6/package.json b/k6/package.json index d728c1d3d..e27325218 100644 --- a/k6/package.json +++ b/k6/package.json @@ -5,14 +5,14 @@ "scripts": { "format": "prettier --write .", "lint": "eslint . --fix", - "test" : "k6 run" + "test": "k6 run" }, "dependencies": {}, "devDependencies": { "eslint": "^8.53.0", "prettier": "^2.8.8", - "eslint-plugin-import": "^2.29.0", - "@typescript-eslint/eslint-plugin": "^6.0.0", + "eslint-plugin-import": "^2.29.0", + "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0" } }