From 6f645b83400a8d7a894e0cc9777bf276e1a5ebbf Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 15 Feb 2024 19:07:53 +0100 Subject: [PATCH] test(lint): don't lint eof on auto edited json files --- eslint.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index 742757cbd..82cafd35f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -31,4 +31,13 @@ module.exports = antfu({ rules: { 'no-console': 'off', }, +}, { + files: [ + 'package.json', + 'packages/*/package.json', + 'packages/*/manifest.json', + ], + rules: { + 'style/eol-last': 'off', + }, })