From d1d859f76b735435f11d021c2dea4063462ed2ab Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Sun, 6 Oct 2024 04:04:03 +0800 Subject: [PATCH] fix: global `ignores` needs to be in a separate object without any other keys --- templates/eslint.config.mjs.ejs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/eslint.config.mjs.ejs b/templates/eslint.config.mjs.ejs index 2570365..b56c6ff 100644 --- a/templates/eslint.config.mjs.ejs +++ b/templates/eslint.config.mjs.ejs @@ -10,6 +10,10 @@ export default [ { name: 'app/files-to-lint', files: ['**/*.{<%= fileExtensions.join(',') %>}'], + }, + + { + name: 'app/files-to-ignore', ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'], },