From: Jérôme Benoit Date: Thu, 30 May 2024 15:10:58 +0000 (+0200) Subject: refactor: reorder eslint flat configuration X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4868a63a90359cbba4f07254daed49e8faea107c;p=benchmarks-js.git refactor: reorder eslint flat configuration Signed-off-by: Jérôme Benoit --- 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, + }, + }), ])