From 4868a63a90359cbba4f07254daed49e8faea107c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 30 May 2024 17:10:58 +0200 Subject: [PATCH] refactor: reorder eslint flat configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- eslint.config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 642bf9d..89a0206 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -8,14 +8,8 @@ import globals from 'globals' import neostandard from 'neostandard' export default defineFlatConfig([ - ...neostandard({ - globals: { - ...globals.node, - }, - }), js.configs.recommended, nodePlugin.configs['flat/recommended'], - jsdoc.configs['flat/recommended'], { plugins: { 'simple-import-sort': simpleImportSort, @@ -25,4 +19,10 @@ export default defineFlatConfig([ 'simple-import-sort/exports': 'error', }, }, + jsdoc.configs['flat/recommended'], + ...neostandard({ + globals: { + ...globals.node, + }, + }), ]) -- 2.34.1