Description: avoid eslint prettier hints unsupported in Debian
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2022-02-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/lib/rules/no-arrow-functions.js
+++ b/lib/rules/no-arrow-functions.js
@@ -53,7 +53,6 @@
                 .trim()
 
             let resultText =
-                /*eslint-disable @mysticatea/prettier */
                 node.body.type === "BlockStatement" ? (
                     `function(${paramText}) ${bodyText}`
                 ) : preText.includes("\n") ? (
@@ -61,7 +60,6 @@
                 ) : (
                     `function(${paramText}) { return ${bodyText} }`
                 )
-                /*eslint-enable @mysticatea/prettier */
 
             if (node.async) {
                 resultText = `async ${resultText}`
--- a/tests/tester.js
+++ b/tests/tester.js
@@ -10,12 +10,10 @@
 
 const eslintVersion = new Linter().version
 const ecmaVersion =
-    /*eslint-disable @mysticatea/prettier */
     semver.gte(eslintVersion, "7.8.0") ? 2021 :
     semver.gte(eslintVersion, "6.2.0") ? 2020 :
     semver.gte(eslintVersion, "5.0.0") ? 2019 :
     2018
-    /*eslint-enable @mysticatea/prettier */
 
 //eslint-disable-next-line no-console
 console.log("ECMAScript Version: %d", ecmaVersion)
