From 0a3576722cfaafabc28669f2380ab583186e9daa Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 25 Jul 2022 08:38:11 +0530 Subject: eslint needs to be executed at the top-level to actually work --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index f243f82..dce39ce 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "prepare": "pnpm dlx husky install", "package": "node scripts/package.js", "create": "node scripts/create.js", - "lint": "eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\" --quiet", - "lint:fix": "npm run lint -- --fix", + "lint": "pnpx eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", + "lint:fix": "pnpx eslint --fix \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,json,scss}\"", "contributors": "all-contributors" }, -- cgit v1.2.3-54-g00ecf