From aaf725cc72164bb4a7c60862f5067f38ba307211 Mon Sep 17 00:00:00 2001 From: nhanluongoe Date: Tue, 9 Jan 2024 11:25:23 +0700 Subject: [PATCH] chore: ignore check for document site --- .eslintrc.js | 1 + tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 501080a..d394859 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -43,4 +43,5 @@ module.exports = { 'import/no-relative-packages': 'off', // Disable import/no-relative-parent-imports rule 'jsx-a11y/anchor-is-valid': 'off', // Disable jsx-a11y/anchor-is-valid rule }, + ignorePatterns: ['/site'], //ignore document site directory }; diff --git a/tsconfig.json b/tsconfig.json index c848ef8..78efe6c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,5 +7,6 @@ "skipLibCheck": true, "strict": true, "noEmit": true - } + }, + "exclude": ["./site"] }