From 78bafaa85999b8df12257365334ad08ed53d3851 Mon Sep 17 00:00:00 2001 From: Kirk Swenson Date: Wed, 14 Aug 2024 06:42:51 -0700 Subject: [PATCH] chore: move lint cache files into node_modules/.cache folder (#1402) --- v3/.gitignore | 2 -- v3/package.json | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/v3/.gitignore b/v3/.gitignore index d04e839a20..19bf5ea686 100644 --- a/v3/.gitignore +++ b/v3/.gitignore @@ -5,8 +5,6 @@ node_modules npm-error.log .DS_Store .env* -.eslintcache -.eslintcache.build .nyc_output .yalc yalc.lock diff --git a/v3/package.json b/v3/package.json index 0ae3e734a8..bc1781aa93 100644 --- a/v3/package.json +++ b/v3/package.json @@ -60,8 +60,8 @@ "build:cypress": "tsc -p ./cypress/tsconfig.json", "build:webpack": "webpack --mode production", "clean:cache": "rimraf node_modules/.cache", - "lint": "eslint --cache \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"", - "lint:build": "eslint --cache --cache-location \".eslintcache.build\" -c \".eslintrc.build.cjs\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"", + "lint": "eslint --cache --cache-location \"node_modules/.cache/eslintcache\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"", + "lint:build": "eslint --cache --cache-location \"node_modules/.cache/eslintcache.build\" -c \".eslintrc.build.cjs\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"", "lint:fix": "eslint --cache --fix \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"", "lint:style": "eslint -c \".eslintrc.style.cjs\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"", "lint:style:fix": "eslint -c \".eslintrc.style.cjs\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./cypress/**/*.{js,jsx,ts,tsx}\"",