From d8c474b1813ed387cc7bef96ebb0d9dc4cb8f817 Mon Sep 17 00:00:00 2001 From: Timur Shemsedinov Date: Sat, 28 Oct 2023 23:55:19 +0300 Subject: [PATCH] Disable eslint `no-invalid-this` for empty method PR-URL: https://github.com/metarhia/metaschema/pull/460 --- lib/preprocessor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/preprocessor.js b/lib/preprocessor.js index e4fa517..d8dcceb 100644 --- a/lib/preprocessor.js +++ b/lib/preprocessor.js @@ -112,6 +112,7 @@ class Preprocessor { return { Type: types.tuple, defs: { value: source } }; } + // eslint-disable-next-line class-methods-use-this functionField() { return {}; }