Skip to content

Commit 07c6104

Browse files
committed
fix(js): Disable autofix and rule implicit-arrow-linebreak at all
Rule doesn't care about `max-len` producing errors
1 parent e5f667e commit 07c6104

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

languages/js/rules/layout-and-formatting.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ module.exports = {
111111

112112
// Enforce the location of arrow function bodies (autofixable)
113113
// https://eslint.org/docs/rules/implicit-arrow-linebreak
114-
'+implicit-arrow-linebreak': ['error', 'beside'],
114+
// Note: Doesn't care about max-len when autofix
115+
'!implicit-arrow-linebreak': ['off', 'beside'],
115116

116117
// Enforce consistent indentation (autofixable)
117118
// https://eslint.org/docs/rules/indent

0 commit comments

Comments
 (0)