From c58153890ee92dac363c9e6a4f709ddd6648b750 Mon Sep 17 00:00:00 2001 From: Melvin Vermeer Date: Sat, 29 Jan 2022 14:57:46 +0100 Subject: [PATCH] move meta object within the rule --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index e2adba2..d0d3b21 100644 --- a/index.js +++ b/index.js @@ -15,12 +15,12 @@ function getAbsolutePath(relativePath, context) { const message = "import statements should have an absolute path"; module.exports = { - meta: { - type: 'layout', - fixable: 'code', - }, rules: { "no-relative-import-paths": { + meta: { + type: "layout", + fixable: "code", + }, create: function (context) { const { allowSameFolder } = context.options[0] || {};