Skip to content

Commit 2b1555e

Browse files
committed
chore(eslint stylistic): more in-line rule : curly-newline is set to 1 min element (no break of checks)
1 parent 61e4736 commit 2b1555e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default [
3333
"@stylistic/comma-spacing": [ "error", { before: false, after: true }],
3434
"@stylistic/comma-style": [ "error", "last" ],
3535
"@stylistic/computed-property-spacing": [ "error", "never" ],
36-
"@stylistic/curly-newline": [ "error", { minElements: 2 }],
36+
"@stylistic/curly-newline": [ "error", { minElements: 1 }],
3737
"@stylistic/dot-location": [ "error", "property" ],
3838
"@stylistic/eol-last": [ "error", "always" ],
3939
"@stylistic/function-call-argument-newline": [ "error", "consistent" ],

0 commit comments

Comments
 (0)