Skip to content

Commit b7d6a42

Browse files
Add "arrow-parens" eslint rule
1 parent 1ab9893 commit b7d6a42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,6 @@ module.exports = {
5454
"comma-style": ["error", "last"],
5555
"max-len": ["error", { "code": 100, "tabWidth": 4 }],
5656
"eol-last": ["error", "always"],
57+
"arrow-parens": ["error", "as-needed"],
5758
}
5859
};

0 commit comments

Comments
 (0)