Skip to content

Commit

Permalink
fix(eslint): style/brace-style
Browse files Browse the repository at this point in the history
  • Loading branch information
mouse484 committed Jun 23, 2024
1 parent 7dda835 commit 480a85d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/eslint/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,17 @@ export async function mouse(options, ...userConfigs) {
})
}

if (options?.stylistic) {
configs.push({
name: 'mouse/stylistic',
rules: {
'style/brace-style': [
'error',
'1tbs',
],
},
})
}

return antfu(options, ...configs, ...userConfigs)
}

0 comments on commit 480a85d

Please sign in to comment.