From cd9e355edbcbfde43879dc5257248897e7b97799 Mon Sep 17 00:00:00 2001 From: beefchimi Date: Tue, 30 Jul 2024 21:17:57 -0400 Subject: [PATCH] :hammer_and_wrench: [Eslint] Tweaks for root config --- eslint.config.mjs | 79 +++++++++++++-------------- package.json | 4 +- pnpm-lock.yaml | 136 ++++++++++++++++++++++++---------------------- 3 files changed, 111 insertions(+), 108 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 0815bf5..8565932 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,50 +1,47 @@ -// eslint.config.js import antfu from '@antfu/eslint-config'; // References: // 1. https://github.com/antfu/eslint-config // 2. https://github.com/antfu/eslint-plugin-antfu // 3. https://github.com/antfu/eslint-plugin-format -export default antfu({ - // The default is 'app', but we might want to - // use `lib` here and `app` within `/website`. - // type: 'lib', - - // In case we want to use a custom config within `website`: 'app/**' - ignores: ['.nx/cache', 'coverage/**', 'dist/**', 'scrap/**', 'app/**'], - - formatters: { - // Formats .css and .scss files, but also the `