lines-around-comment
评论周围需要空行
一些该规则报告的问题可以通过 --fix 命令行选项 自动修复
许多风格指南要求在评论之前或之后有空行。这些规则的主要目标是使注释更易于阅读并提高代码的可读性。
规则详情
此规则要求在评论之前和/或之后有空行。它可以分别为块 (/*
) 和行 (//
) 注释启用。此规则不适用于与代码出现在同一行的注释,并且不需要在文件的开头或结尾处有空行。
选项
此规则有一个对象选项:
- +qg4Sv3q8boJa7wY0UCG76PsJfOxCCBsKtxoB0hYd5qC5gGwld7VUhsEphXnJeLUYkdkN3GXluSKPiFZR2wnWi7F8ZxWv6CrlexfjHDlN7LISBOPyE/0TlqifF5Nnto2aqP/HVyj437LVLtf5KdPCerfiHsF09cjQBukvhq1E2GHkm4C3IRzB5LJKcPsUeNtH6jKY6KkTBLmtMjlbGSKJAxxS2RU23sn75G3XYALEOkNt0CpfMUD1Fr7/zZEVxre+XtDp/QPKDu0I4siDwmymw/JCl1VJQrT8Kju7MR4zAfHKHHt5ksNYpj4h/n1VaqtsIFPs/TNbMldBsBIJVW3RdnTJ3BJIL/8ZQ3+fzYkwFTFPerJI7PQXl25A6m9+f2PhUl8xAn3EW06uWQT1xq5E5fkg3w1RxC8VvsQbms/szW/HYkOBRYhOCjSyse4Tld6saUqAUA5qc/PplX7PNHvqUtrr7Z1LcdZ3lhyj32MWPY/eWKxkYe0bLgKcA8o/GlCtpQfTTEhX31Ln/P47G6nzCkMjtqJu4Q6UfstxyZdsSRfMwxBHZ6qKLnB63apKbfA9kZ3jVIjc8twymr1eWv4WTRvdhvc8Yu0rX89oHCfIqhl0+PYcF4A415DNqIzp/25YENVjA49CmzyR3qWd0rmD83aoLaVFL2j5okU46XR1JMi6Hv2QTM3sVsJucDSp2E4j7R3krWlmN91dtTd1RsCyDkc+Uc0eEC41zivDKt1ATF+WOu4zWVshxwtTHr+cxGvxta8ymUSiGiGgKGXuw1SwEqax9i1FK1gcs1tt7CYqGFoVvft1sCFKrnpxoJaZhReYjpPKufVpM6ZLHryolbMC9TWmKlOh+TNu0wP+K/G2ugjE+A86SzreGHda3bMMn75nexj8fqzENad3y0GG2IXvtUVHtuIHqdFXuFJBkNb4ykS0spnHZkyqmSJvcACkcajaXiUEFHq3X6JvK/DylteCx0uQfg6N7BcriiNZuRFoBxqShYfzXlNk8ud1eCLRknV/2EtkZCSteSD2e2ILQtQLs/BQZ71M6NG5/iVPn/fOE18Z+muBD6fSrKLViex0mzODsMClEFGxFF63vjpSm/3x1B+q/BFUMaZs9CZhv4KEBqU46NjtNPd9z6EI9G9Y92p50BZRjsMisnXXjYqw73g7OHa8yqL4PswbRcK+j4zMLS8EZxotGb2uj8I+61daX8CXGpZ2SNJYP9y9fOLYD+4sx9TIyrw4W8yUbK0wWZ7V5UG6x17z4Zgy6PDHGcetmIrVQiK+DPaTVTfBmNRfjCFHhyuponV7MPf84Ryp65qNqKtdN2+j3pDNcQIChrVcVg5kdtNssLypPE2cOO9wYHEFcNbphYTJhHKfvjiJSYTYvVO3XxYeuVyi8WMlRMu32VgxFyvmz+6CWBNQw5RBy8RRfd1zEUqrSc9AsGR8dZf3RT7Y0DxwHf83TFJAQpbNLNZt5B6QtnqWyOo82Un36IxcvLXaGsFZo419iUM+cIDhcmpeqEIsDvQNRW3XVueOVuRs8XahoelbpSB/rEWQpFNYw4wFz9wWIftp86+7VjHUwCWhAnZdcxnVupFVrmdqOfzpwk7opuENnpoGY/nDfj/txxI6OV07cbOomlQIw5CkGUYOJrniATSvoewims5ZWvpMra6b9IEgnwGeeOTjF1jzY5R4PQr16bFadEOGXi83y103d4oe2QeMaF3OEb1P5M+N0yR/F988Zw6IB/HF8vieA==
beforeBlockComment
UlaHmiNRrn4r9+6kXRmVxl1rHVgjyodchPwVIkYpPhymC+fUw2/K8R5J6VQVkSkIyWxGrERmKB6IpopVJMPc8Pmp7Z8cQocsDcLN2MG3HvLniYlIeAGsuo7647N/MGjfbdbLh3RlVrNqMul9FZOaIQ==
/*eslint lines-around-comment: ["error", { "beforeBlockComment": true }]*/
var night = "long";
/* what a great and wonderful day */
var day = "great"
UlaHmiNRrn4r9+6kXRmVxl1rHVgjyodchPwVIkYpPhymC+fUw2/K8R5J6VQVkSkIyWxGrERmKB6IpopVJMPc8G2nG6/VaInso7JzDYgGJnpqovtinFtujNIl2twUsEt/hLvTVmU5gg189FDsYDZruA==
/*eslint lines-around-comment: ["error", { "beforeBlockComment": true }]*/
var night = "long";
/* what a great and wonderful day */
var day = "great"
afterBlockComment
nQP82WYZJTVvhOZX4UTE6FvKdKbet45vqox2CneFgFWnO+mM8trl3L6MzzLfceyBNh5VlJ+R/xij0RvzvIUpoRGxY9uKdcL1QuBE5TUz0BKJa7Q6OUTPFmPOq4fPeK57
/*eslint lines-around-comment: ["error", { "afterBlockComment": true }]*/
var night = "long";
/* what a great and wonderful day */
var day = "great"
nQP82WYZJTVvhOZX4UTE6FvKdKbet45vqox2CneFgFWnO+mM8trl3L6MzzLfceyBNh5VlJ+R/xij0RvzvIUpoRm5LjburdbpfcrX55C+E3x1Wvo4E5e2HB2Oy62xMkDX
/*eslint lines-around-comment: ["error", { "afterBlockComment": true }]*/
var night = "long";
/* what a great and wonderful day */
var day = "great"
beforeLineComment
nQP82WYZJTVvhOZX4UTE6IgauJQh4thKs3FWbqn/VnKYsQn62jVuwTnvsBhOskkIpRrqY5Ku0xxe9Uum+gUZ87bSKNw8QHREmx5rheAirnQvcaegc8dpnEHt5t7iVc7j
/*eslint lines-around-comment: ["error", { "beforeLineComment": true }]*/
var night = "long";
// what a great and wonderful day
var day = "great"
nQP82WYZJTVvhOZX4UTE6IgauJQh4thKs3FWbqn/VnKYsQn62jVuwTnvsBhOskkIpRrqY5Ku0xxe9Uum+gUZ8+1d1mFdLxg7OdnMsGtZAmU3E7jFeYgIh8aV1iGwfSx2
/*eslint lines-around-comment: ["error", { "beforeLineComment": true }]*/
var night = "long";
// what a great and wonderful day
var day = "great"
afterLineComment
nQP82WYZJTVvhOZX4UTE6JlCfDjXiiiOhavBOlVl7QIAQnekfTdpFPGEvQkNcvQBBdXetnsjjse5p49pI1EDpspROX813e/su1mOzX6UBEvIys7KkR9RdvGH3wFd0k2D
/*eslint lines-around-comment: ["error", { "afterLineComment": true }]*/
var night = "long";
// what a great and wonderful day
var day = "great"
nQP82WYZJTVvhOZX4UTE6JlCfDjXiiiOhavBOlVl7QIAQnekfTdpFPGEvQkNcvQBBdXetnsjjse5p49pI1EDplaJhtwcD4e26Ry0hTTcnGFpq5th7MxkSOzX+Wg4+1DD
/*eslint lines-around-comment: ["error", { "afterLineComment": true }]*/
var night = "long";
// what a great and wonderful day
var day = "great"
allowBlockStart
nQP82WYZJTVvhOZX4UTE6IgauJQh4thKs3FWbqn/VnKYsQn62jVuwTnvsBhOskkIGbwDHxPJku440M5Tevb/oaxDfyxQUuc3MFyh7MmdswhV7AXWqE+tpGDdsGJuweUXTueX1ianhdPO/6np+tGKuwr6lNJVzhPWTCDf/Q1LeyY=
/*eslint lines-around-comment: ["error", { "beforeLineComment": true, "allowBlockStart": true }]*/
function foo(){
// what a great and wonderful day
var day = "great"
return day;
}
if (bar) {
// what a great and wonderful day
foo();
}
class C {
// what a great and wonderful day
method() {
// what a great and wonderful day
foo();
}
static {
// what a great and wonderful day
foo();
}
}
nQP82WYZJTVvhOZX4UTE6EhMv72Uv7CHWjygAhsrQZSiPhtnbxAYtTCwXCgXQmzBlDI6zEEZMUR0J02JlGsfZLStF1HbsBEGGU8ogdp4FPdG6T9RxaNm8aQn/Kf5+pwTvavd0OdbyjBYc4oMMVOIxz8SdJCnVZS7mu8bbytNdS4=
/*eslint lines-around-comment: ["error", { "beforeBlockComment": true, "allowBlockStart": true }]*/
function foo(){
/* what a great and wonderful day */
var day = "great"
return day;
}
if (bar) {
/* what a great and wonderful day */
foo();
}
class C {
/* what a great and wonderful day */
method() {
/* what a great and wonderful day */
foo();
}
static {
/* what a great and wonderful day */
foo();
}
}
switch (foo) {
/* what a great and wonderful day */
case 1:
bar();
break;
}
allowBlockEnd
nQP82WYZJTVvhOZX4UTE6JlCfDjXiiiOhavBOlVl7QIAQnekfTdpFPGEvQkNcvQB567O0d01jqk8w2fr0Xt7txUPufsSoAPSJXD+HrqO7oU+/Ht8W357ilvgMXvZUqzRWLsUuXEYe8ptmf/LJo0Tpw==
/*eslint lines-around-comment: ["error", { "afterLineComment": true, "allowBlockEnd": true }]*/
function foo(){
var day = "great"
return day;
// what a great and wonderful day
}
if (bar) {
foo();
// what a great and wonderful day
}
class C {
method() {
foo();
// what a great and wonderful day
}
static {
foo();
// what a great and wonderful day
}
// what a great and wonderful day
}
nQP82WYZJTVvhOZX4UTE6FvKdKbet45vqox2CneFgFWnO+mM8trl3L6MzzLfceyBOmf2DL/C8f+j7JWN0/69Qo7uJOqZqWrBZazuTADvsDYcLMuQp40Xz+THKbGMakBbWrLhyg1G8eRJAnBbxivdS2qbfh3IwVkxlffX16G4Eow=
/*eslint lines-around-comment: ["error", { "afterBlockComment": true, "allowBlockEnd": true }]*/
function foo(){
var day = "great"
return day;
/* what a great and wonderful day */
}
if (bar) {
foo();
/* what a great and wonderful day */
}
class C {
method() {
foo();
/* what a great and wonderful day */
}
static {
foo();
/* what a great and wonderful day */
}
/* what a great and wonderful day */
}
switch (foo) {
case 1:
bar();
break;
/* what a great and wonderful day */
}
allowClassStart
nQP82WYZJTVvhOZX4UTE6IgauJQh4thKs3FWbqn/VnKYsQn62jVuwTnvsBhOskkIrNmTpGg/yfg07fdE7zpRfJoQ6OR1O9PltYGIGVNtPbEUWXNxeamfo3IhhguRMAB7ZkhJnQaWMcOk4J+9h1KDTI3CCntymZ3zrCcMrqr+4qo=
/*eslint lines-around-comment: ["error", { "beforeLineComment": true, "allowClassStart": false }]*/
class foo {
// what a great and wonderful day
day() {}
};
nQP82WYZJTVvhOZX4UTE6IgauJQh4thKs3FWbqn/VnKYsQn62jVuwTnvsBhOskkIrNmTpGg/yfg07fdE7zpRfJoQ6OR1O9PltYGIGVNtPbGrbulZJCg7PCN/Q/lCZBKhcsgrfSKoBk8znp1OeW6pIPzF3vqE+bea6An2EQw+dx8=
/*eslint lines-around-comment: ["error", { "beforeLineComment": true, "allowClassStart": false }]*/
class foo {
// what a great and wonderful day
day() {}
};
nQP82WYZJTVvhOZX4UTE6IgauJQh4thKs3FWbqn/VnKYsQn62jVuwTnvsBhOskkIrNmTpGg/yfg07fdE7zpRfN700D+ej6fLaBUwpALHi9Zpc2wEHiWKq4LWI70DO0YNn42Z1+Cdb8edx3chu6CJItYHsxaWKaTyQTI7msmkb3M=
/*eslint lines-around-comment: ["error", { "beforeLineComment": true, "allowClassStart": true }]*/
class foo {
// what a great and wonderful day
day() {}
};
nQP82WYZJTVvhOZX4UTE6EhMv72Uv7CHWjygAhsrQZSiPhtnbxAYtTCwXCgXQmzB9D/kDO2NZU2KfnsP+7S1JMaxxTrfphXXYvYLnJGyRl1dN1++rvJ9zxkDAI19mP7nz+Lm0fXqpuGAOzU1Wd5UmzNyyWqEZgw1lHj+8D33ztE=
/*eslint lines-around-comment: ["error", { "beforeBlockComment": true, "allowClassStart": false }]*/
class foo {
/* what a great and wonderful day */
day() {}
};
nQP82WYZJTVvhOZX4UTE6EhMv72Uv7CHWjygAhsrQZSiPhtnbxAYtTCwXCgXQmzB9D/kDO2NZU2KfnsP+7S1JMaxxTrfphXXYvYLnJGyRl0XRnK+pNMd8q6vE9gpNT0qvVZrJpXwDR+cZXTX+gLzTx2EP9zXiLzgNGHchowbTSQ=
/*eslint lines-around-comment: ["error", { "beforeBlockComment": true, "allowClassStart": false }]*/
class foo {
/* what a great and wonderful day */
day() {}
};
nQP82WYZJTVvhOZX4UTE6EhMv72Uv7CHWjygAhsrQZSiPhtnbxAYtTCwXCgXQmzB9D/kDO2NZU2KfnsP+7S1JPar96sp2CeOtj8bA8+ZhbWCX3rxywV0ICLAa/WTm5uOaXFpKKsb/iQ0ULyF9aoAVd7PTPhLQi42bw3+x+kr97Q=
/*eslint lines-around-comment: ["error", { "beforeBlockComment": true, "allowClassStart": true }]*/
class foo {
/* what a great and wonderful day */
day() {}
};
allowClassEnd
nQP82WYZJTVvhOZX4UTE6JlCfDjXiiiOhavBOlVl7QIAQnekfTdpFPGEvQkNcvQBYk1gZ7CIhObHrI16J66CVs+1DCKuO5DEVhuXHBaIz8jxvBTUtFVZgvMjvYt1Y4zo31Wrd07smg9mMU0jLrvgBw==
/*eslint lines-around-comment: ["error", { "afterLineComment": true, "allowClassEnd": true }]*/
class foo {
day() {}
// what a great and wonderful day
};
nQP82WYZJTVvhOZX4UTE6FvKdKbet45vqox2CneFgFWnO+mM8trl3L6MzzLfceyBYjAd9LGd7znLx5SN50NOnVqrzP4CKiOC0Clci0RnjX+boWZjtxD/iGqX8/TezjWOHEAdnd5Ef3qjI7ac0/Md6ZKKxoKLV+1du0dNakwvSxM=
/*eslint lines-around-comment: ["error", { "afterBlockComment": true, "allowClassEnd": true }]*/
class foo {
day() {}
/* what a great and wonderful day */
};
allowObjectStart
nQP82WYZJTVvhOZX4UTE6IgauJQh4thKs3FWbqn/VnKYsQn62jVuwTnvsBhOskkIzHx79RFmHtct7VPhevTUSiOt54ZYk/he4yavSrDxwkYtAAj0Vmq51ZqfQn7PNzFWOJpZU1tfApOIMt5jVrpDgYVt63WlWoI5zIGaEE0n4RE=
/*eslint lines-around-comment: ["error", { "beforeLineComment": true, "allowObjectStart": true }]*/
var foo = {
// what a great and wonderful day
day: "great"
};
const {
// what a great and wonderful day
foo: someDay
} = {foo: "great"};
const {
// what a great and wonderful day
day
} = {day: "great"};
nQP82WYZJTVvhOZX4UTE6EhMv72Uv7CHWjygAhsrQZSiPhtnbxAYtTCwXCgXQmzBFnCh8pDdZXmfCEv5dJcoyD0+1pbGTB0mNHfrg8sj77ZAMPc/93/xCoO8L/OyNTwUKagcap8U/tUhE0C9YXQOzPfaQhXDPsQBq/J0SAm9Lv4=
/*eslint lines-around-comment: ["error", { "beforeBlockComment": true, "allowObjectStart": true }]*/
var foo = {
/* what a great and wonderful day */
day: "great"
};
const {
/* what a great and wonderful day */
foo: someDay
} = {foo: "great"};
const {
/* what a great and wonderful day */
day
} = {day: "great"};
allowObjectEnd
nQP82WYZJTVvhOZX4UTE6JlCfDjXiiiOhavBOlVl7QIAQnekfTdpFPGEvQkNcvQB7jucH3kdN5kj2pHykI4m7sQV0AJRMXvSePcPuvuDKrK2GExffhzPb/NP+eI/DFTVR2Izb4KckrY+11iGvPzl7mD2ZKtxDCfgtB4d0IwSAZQ=
/*eslint lines-around-comment: ["error", { "afterLineComment": true, "allowObjectEnd": true }]*/
var foo = {
day: "great"
// what a great and wonderful day
};
const {
foo: someDay
// what a great and wonderful day
} = {foo: "great"};
const {
day
// what a great and wonderful day
} = {day: "great"};
nQP82WYZJTVvhOZX4UTE6FvKdKbet45vqox2CneFgFWnO+mM8trl3L6MzzLfceyBZd2aYZXPIF/UxZ8DanebwlIg4xqK24tJ3oB5zA4is2kvgSgfjXO7+mrBSv3dKOaDK49u3Fpq7FEyBmmTTSytP9LIvBDa8U9WC/BoLzXbvxI=
/*eslint lines-around-comment: ["error", { "afterBlockComment": true, "allowObjectEnd": true }]*/
var foo = {
day: "great"
/* what a great and wonderful day */
};
const {
foo: someDay
/* what a great and wonderful day */
} = {foo: "great"};
const {
day
/* what a great and wonderful day */
} = {day: "great"};
allowArrayStart
nQP82WYZJTVvhOZX4UTE6IgauJQh4thKs3FWbqn/VnKYsQn62jVuwTnvsBhOskkI7sGWo0J75toZBl/JkryBC8rTtrrNpwGeRjFUogC+/3Bjyr2jTGV3sID7JTMCnn7OVIrIj8+uAifkF9uQrB2l2fT7pKspJLCslh3+hrj6cuw=
/*eslint lines-around-comment: ["error", { "beforeLineComment": true, "allowArrayStart": true }]*/
var day = [
// what a great and wonderful day
"great",
"wonderful"
];
const [
// what a great and wonderful day
someDay
] = ["great", "not great"];
nQP82WYZJTVvhOZX4UTE6EhMv72Uv7CHWjygAhsrQZSiPhtnbxAYtTCwXCgXQmzBc13Mtvm+TO4gqBC2T7wfFuEyCqAuNnUq/K+1Siief6jAQcWK1O2kjsWPe64Hz19qHHDBkj4FoaqC0QAmaGMkC4i1SOhgT2uL6Zje3Ysgb9g=
/*eslint lines-around-comment: ["error", { "beforeBlockComment": true, "allowArrayStart": true }]*/
var day = [
/* what a great and wonderful day */
"great",
"wonderful"
];
const [
/* what a great and wonderful day */
someDay
] = ["great", "not great"];
allowArrayEnd
nQP82WYZJTVvhOZX4UTE6JlCfDjXiiiOhavBOlVl7QIAQnekfTdpFPGEvQkNcvQBihwFmFIpGWx8ah3KbttDdqJkYc2S+9PW5YRJxgGkTKcMhVBhGg+11cs+sMFFSXyADRG9ODxprGkMYmsMpLBV/w==
/*eslint lines-around-comment: ["error", { "afterLineComment": true, "allowArrayEnd": true }]*/
var day = [
"great",
"wonderful"
// what a great and wonderful day
];
const [
someDay
// what a great and wonderful day
] = ["great", "not great"];
nQP82WYZJTVvhOZX4UTE6FvKdKbet45vqox2CneFgFWnO+mM8trl3L6MzzLfceyBNKJd8KZ/hZ/2thq8nmeyhHW3HQ8tOPLrPwypKh4RPmokJwKz/51ZdGqxi5tYXU+Oy3za4URRgeEOxXxNJgQ9Mr+IHFcODOinsvVn7PWxuKg=
/*eslint lines-around-comment: ["error", { "afterBlockComment": true, "allowArrayEnd": true }]*/
var day = [
"great",
"wonderful"
/* what a great and wonderful day */
];
const [
someDay
/* what a great and wonderful day */
] = ["great", "not great"];
ignorePattern
jZdEq2qTJEifcI9OnDWafBQaZN9Oy3zWE2qTyS7dfDRBxEiOm/NK79p/YKB1Sn7M5Dk//uFTZHwIJ/585a9kws8bFh+/PaIwWV9jn4ysTdwpBwLRJqIEEvjkIvmvXK0tA74Y2MbhfwvazEryOqb/9/9Tm74kO0tuozfPivoztjSW5lcN0XEYTkofUtZTCJjyUEIAcB33/9kIlsrT8HVQywkdrVcG0iJJxI+lVgFFFbe+I1KvnbGTpZnbw3RW0Svg6dh37RrpKWIk9vieFOUEJMt7KU0FqIiec4y1JHM4WBSzJwr5tbCsTiv+nDQ9xojKMcQExwV+qOcmRq3dhy3GlMbPKfrXBsB3jqtrnMYjMMG/ZILNLL2ZbEcUV5CFzLQD2OQo9zC7GGqHM90M0mS7iysv7kvCtYngwsqXtGIiG36SFjJi7yYVMVKSs9ZWp17lbGzQLX/RR5CE+gHWT0TTLaAo9puJhQJY7US/xHNIUwLkdwQBDSIxdvBRLGdZe9z2UStx6miasyRmjVbV89G9brAuxmcwwqXPcPI9abadvVKkA+YOTjo2gCg4c8mBkpx5
b9BLiypj5rrdC7EsG5yMhYgbZL7Zd43okv0ekllBTp/sxucOTIbhc75shQSTb86jTDepYyqjenOI3o0C1uOznw==
/*eslint lines-around-comment: ["error"]*/
foo();
/* eslint mentioned in this comment */,
bar();
/*eslint lines-around-comment: ["error", { "ignorePattern": "pragma" }] */
foo();
/* a valid comment using pragma in it */
b9BLiypj5rrdC7EsG5yMhYgbZL7Zd43okv0ekllBTp8InmKqpQSN+MbRmf1B4mcdGrM0ZY0rl81mizy3xibf+Q==
/*eslint lines-around-comment: ["error", { "ignorePattern": "pragma" }] */
1 + 1;
/* something else */
applyDefaultIgnorePatterns
J1U4w8JM6sEgJiy2PjbPxLZEsA9YCwcUxfIoRibP2VX/xcBn7Qp27N8XXLz8niMoaJjVaiOVNldDrYgyNHMW5ZS56rctQJWPEojWfsJvBU5JjRMkVfP8sKrpbgpYrPgiMxXagEBVjO0ZciVWe6i5s6tc1WlL2qXjUrqXWDD7n6ZpVukpFE0hIpeNYbyVbsTIGkKvCGma1ld3b+ROBxuXJg==
EYrRpjbnQ1jlvlbMIDtcaUfKQTG5+7bPuq0SISPqz6hdT4xDa8NS7I8iYyDrYwNYbaX6XWNXOwWFvd0EPfEJ23J/UH6FQ9ZTGmga2jH6d8jOJNIjaSOx0fqWX5mcSXtW
/*eslint lines-around-comment: ["error", { "ignorePattern": "pragma", applyDefaultIgnorePatterns: false }] */
foo();
/* a valid comment using pragma in it */
EYrRpjbnQ1jlvlbMIDtcaUfKQTG5+7bPuq0SISPqz6hdT4xDa8NS7I8iYyDrYwNYoh2WKgMWAR2FuKxHYzS9fl14FVf2PnTdiZTlUHeM5hAw1AnLQ0x5FRuhNkusLEmC
/*eslint lines-around-comment: ["error", { "applyDefaultIgnorePatterns": false }] */
foo();
/* eslint mentioned in comment */
何时不使用
857yjxR9tcHZZ0Kn7XAC0I8JTFMdHUpSMmiyrAGwc0hmUoEpqPUX4rUizb4+kEwIukS3x+3vX+DBkVAUO+evmoohCqazbjdR4b19ZaKVkWvBGH2Z0XmBAZdqfN+zrsPhP0vN3xT1ajZCxch2sgK8zjBbdDlSMgRx241K02BeaXB1YZYSc3ZQ6e6TMohfwFR1