From 0eaf9ae38049d4dd05cc48e10a73bacbe457dee7 Mon Sep 17 00:00:00 2001 From: zepumph Date: Fri, 26 Feb 2021 10:39:46 -0900 Subject: [PATCH] get rid of lines-around-comment, https://github.com/phetsims/phet-info/issues/156 --- eslint/format_eslintrc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eslint/format_eslintrc.js b/eslint/format_eslintrc.js index dc33dd14..d3c45d61 100644 --- a/eslint/format_eslintrc.js +++ b/eslint/format_eslintrc.js @@ -164,7 +164,9 @@ module.exports = { // 'linebreak-style': [ 'error', 'unix' ], // enforces empty lines around comments - 'lines-around-comment': [ 'error', { beforeLineComment: true } ], + // PhET devs do not want this to be so strict in general + // TODO: add to extra knit-picky rules in the future. https://github.com/phetsims/phet-info/issues/150 + // 'lines-around-comment': [ 'error', { beforeLineComment: true } ], // require or disallow newlines around directives // https://eslint.org/docs/rules/lines-around-directive