Convert from comma-dangle to @typescript-eslint/comma-dangle in eslint

This commit is contained in:
Eric Schultz 2020-10-22 14:33:40 -05:00 committed by Eric Schultz
parent edcb2613f1
commit 1a87c097ab
2 changed files with 3 additions and 2 deletions

View file

@ -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": {

View file

@ -361,7 +361,7 @@ describe('modify steps', () => {
): [
KeyedStep[], number | undefined, KeyedStepMap<boolean> | undefined, KeyedStepMap<boolean> | undefined, // initial
KeyedStep[], //stepChange
number | undefined, KeyedStepMap<boolean>, KeyedStepMap<boolean> //expectations
number | undefined, KeyedStepMap<boolean>, KeyedStepMap<boolean>, //expectations
] {
const expectation = {
activeStep: props.initial.activeStep || 0,