add fix flag
This commit is contained in:
parent
c22961e220
commit
baa0bb2adc
1 changed files with 6 additions and 2 deletions
|
|
@ -40,7 +40,11 @@ jobs:
|
|||
globals: {
|
||||
window: 'readonly',
|
||||
document: 'readonly',
|
||||
navigator: 'readonly'
|
||||
navigator: 'readonly',
|
||||
location: 'readonly',
|
||||
history: 'readonly',
|
||||
localStorage: 'readonly',
|
||||
fetch: 'readonly'
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
|
|
@ -49,4 +53,4 @@ jobs:
|
|||
}
|
||||
}
|
||||
];" > eslint.config.mjs
|
||||
npx eslint .
|
||||
npx eslint . --fix || npx eslint .
|
||||
Loading…
Reference in a new issue