Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit c70ec26

Browse files
Disable line-comment-position πŸŽ‰
See #15
1 parent 172ecc2 commit c70ec26

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

β€Žcoding-styles/recommended.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ module.exports = {
5757
],
5858
}],
5959

60-
// Enforce position of line comments
61-
// This rule enforces consistent position of line comments. Block comments are not affected by
62-
// this rule.
63-
'line-comment-position': [1, {
64-
position: 'above',
65-
}],
66-
6760
// Limit Maximum Length of Line
6861
// Very long lines of code in any language can be difficult to read. In order to aid in
6962
// readability and maintainability many coders have developed a convention to limit lines of

β€Žunused.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ module.exports = {
8787
// Unused, too restrictive.
8888
'lines-around-comment': 0,
8989

90+
// Enforce position of line comments
91+
// Unused, too restrictive.
92+
'line-comment-position': 0,
93+
9094
// Enforce newlines between operands of ternary expressions
9195
// Unused, ternaries are usually simple enough that they are OK to be written on a single line.
9296
'multiline-ternary': 0,

0 commit comments

Comments
Β (0)