diff --git a/.eslintrc.js b/.eslintrc.js index 7eaf5062..ee80d336 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -171,7 +171,8 @@ module.exports = { ], "no-trailing-spaces": ["error"], "indent": ["error", "tab", { "SwitchCase": 1 }], // we use tabs for accessibility - "comma-dangle": ["error", "always-multiline"], + "comma-dangle": "off", + "@typescript-eslint/comma-dangle": ["error", "always-multiline"], "@typescript-eslint/no-unused-vars": ['error', { "args": "all", "argsIgnorePattern": "^_" }], }, "settings": { diff --git a/app/javascript/hooks/useSteps.spec.ts b/app/javascript/hooks/useSteps.spec.ts index 2349e3da..1daaf432 100644 --- a/app/javascript/hooks/useSteps.spec.ts +++ b/app/javascript/hooks/useSteps.spec.ts @@ -361,7 +361,7 @@ describe('modify steps', () => { ): [ KeyedStep[], number | undefined, KeyedStepMap | undefined, KeyedStepMap | undefined, // initial KeyedStep[], //stepChange - number | undefined, KeyedStepMap, KeyedStepMap //expectations + number | undefined, KeyedStepMap, KeyedStepMap, //expectations ] { const expectation = { activeStep: props.initial.activeStep || 0,