From 27d8247ad0812b585843bb128eba342289bd2a9f Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Thu, 25 Jul 2024 13:08:11 +0200 Subject: [PATCH] Node config: extend all generic properties --- configs/node.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configs/node.js b/configs/node.js index b1d3dd5..87464db 100644 --- a/configs/node.js +++ b/configs/node.js @@ -12,14 +12,11 @@ const generic = require('./generic.js'); * @type {import('eslint').Linter.Config} */ const node = { - parserOptions: { ...generic.parserOptions }, + ...generic, env: { ...generic.env, node: true, }, - extends: [ ...generic.extends ], - plugins: [ ...generic.plugins ], - rules: { ...generic.rules }, }; module.exports = node;