Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kclark-scottlogic committed Feb 27, 2024
1 parent ca3765a commit f51ef2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
11 changes: 4 additions & 7 deletions k6/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -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'],
Expand All @@ -19,11 +16,11 @@ module.exports = {
},
],
'prefer-template': 'error',
'import/no-unresolved': [
'import/no-unresolved': [
'error',
{
ignore: ['k6/*']
}
ignore: ['k6/*'],
},
],
'import/order': [
'error',
Expand Down
6 changes: 3 additions & 3 deletions k6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit f51ef2f

Please sign in to comment.