Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
action-hong committed Feb 20, 2024
1 parent 16de4ef commit 57804a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion client/src/test/formatter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ suite('formatter should work', () => {
'example-units',
'example-vuepress',
]

for (const name of names)
await assertEqualAfterFix(name)
})
Expand Down
6 changes: 3 additions & 3 deletions client/src/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export function run(): Promise<void> {

try {
// Run the mocha test
mocha.run((failures) => {
if (failures > 0)
mocha.run((failures) => {
if (failures > 0)
reject(new Error(`${failures} tests failed.`))
else
else
resolve()
})
}
Expand Down
5 changes: 3 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ module.exports = antfu({
rules: {
'style/indent': 'off',
'style/no-tabs': 'off',
'node/prefer-global/process': 'off',
'no-console': 'off',
'node/prefer-global/process': 'off',
},
markdown: false,
files: [
ignores: [
'.gitignore',
'.eslintignore',
],
Expand Down

0 comments on commit 57804a2

Please sign in to comment.