summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index f0e2ab2..a97ecf8 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -107,6 +107,23 @@
"error",
"unix"
],
+ "lines-around-comment": [
+ "error",
+ {
+ "afterBlockComment": false,
+ "afterLineComment": false,
+ "allowArrayEnd": false,
+ "allowArrayStart": true,
+ "allowBlockEnd": false,
+ "allowBlockStart": true,
+ "allowClassEnd": false,
+ "allowClassStart": true,
+ "allowObjectEnd": false,
+ "allowObjectStart": true,
+ "beforeBlockComment": true,
+ "beforeLineComment": false
+ }
+ ],
"lines-around-directive": [
"off"
],