From a02728e8b8fd4f6c91b2be7a8e0968ca07ddb71d Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Tue, 2 Apr 2024 11:05:02 +0200 Subject: [PATCH] chore: add tailwind and astro config to eslintignore Due to: ``` Parsing error: ESLint was configured to run on `/astro.config.mjs` using `parserOptions.project`: /users/corneliusromer/code/loculus-bun/website/tsconfig.eslint.json However, that TSConfig does not include this file. Either: - Change ESLint's list of included files to not include this file - Change that TSConfig to include this file - Create a new TSConfig that includes this file and include it in your parserOptions.project See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-fileeslint ``` --- website/.eslintrc.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/.eslintrc.cjs b/website/.eslintrc.cjs index d6c95d1b84..7eaf78a619 100644 --- a/website/.eslintrc.cjs +++ b/website/.eslintrc.cjs @@ -24,7 +24,7 @@ module.exports = { version: 'detect', // React version. "detect" automatically picks the version you have installed. }, }, - ignorePatterns: ['dist', '.eslintrc.cjs'], + ignorePatterns: ['dist', '.eslintrc.cjs', 'tailwind.config.cjs', 'astro.config.mjs'], overrides: [ { // Define the configuration for `.astro` file.