Skip to content

Commit

Permalink
update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnapo committed Apr 5, 2024
1 parent d24552f commit 6711948
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ module.exports = {
plugins: ["ava", "unicorn", "@stylistic"],
reportUnusedDisableDirectives: true,
rules: {
"@stylistic/brace-style": "error",
"@stylistic/brace-style": [
"error",
"1tbs",
{
allowSingleLine: true,
},
],
"@stylistic/comma-dangle": ["error", "always-multiline"],
"@stylistic/comma-spacing": "error",
"@stylistic/func-call-spacing": "error",
Expand Down

0 comments on commit 6711948

Please sign in to comment.