Convert from comma-dangle to @typescript-eslint/comma-dangle in eslint
This commit is contained in:
parent
edcb2613f1
commit
1a87c097ab
2 changed files with 3 additions and 2 deletions
|
@ -171,7 +171,8 @@ module.exports = {
|
||||||
],
|
],
|
||||||
"no-trailing-spaces": ["error"],
|
"no-trailing-spaces": ["error"],
|
||||||
"indent": ["error", "tab", { "SwitchCase": 1 }], // we use tabs for accessibility
|
"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": "^_" }],
|
"@typescript-eslint/no-unused-vars": ['error', { "args": "all", "argsIgnorePattern": "^_" }],
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
|
|
@ -361,7 +361,7 @@ describe('modify steps', () => {
|
||||||
): [
|
): [
|
||||||
KeyedStep[], number | undefined, KeyedStepMap<boolean> | undefined, KeyedStepMap<boolean> | undefined, // initial
|
KeyedStep[], number | undefined, KeyedStepMap<boolean> | undefined, KeyedStepMap<boolean> | undefined, // initial
|
||||||
KeyedStep[], //stepChange
|
KeyedStep[], //stepChange
|
||||||
number | undefined, KeyedStepMap<boolean>, KeyedStepMap<boolean> //expectations
|
number | undefined, KeyedStepMap<boolean>, KeyedStepMap<boolean>, //expectations
|
||||||
] {
|
] {
|
||||||
const expectation = {
|
const expectation = {
|
||||||
activeStep: props.initial.activeStep || 0,
|
activeStep: props.initial.activeStep || 0,
|
||||||
|
|
Loading…
Reference in a new issue