diff options
author | 2023-07-26 16:35:49 +0000 | |
---|---|---|
committer | 2023-07-26 22:05:49 +0530 | |
commit | f9e2d9926e4dff14df0f13858a9c695e2118a94e (patch) | |
tree | 53f1cad4edde7436fa521deb002e14830809bb8b /package.json | |
parent | chore: improve lint setup (#397) (diff) | |
download | ferdium-recipes-f9e2d9926e4dff14df0f13858a9c695e2118a94e.tar.gz ferdium-recipes-f9e2d9926e4dff14df0f13858a9c695e2118a94e.tar.zst ferdium-recipes-f9e2d9926e4dff14df0f13858a9c695e2118a94e.zip |
Improve lint setup (#400)
* Use strict configuration of node/npm/pnpm
* When generating a new recipe, string replace should handle all placeholders in a single file
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index d310ebd..ce33b99 100644 --- a/package.json +++ b/package.json | |||
@@ -12,6 +12,7 @@ | |||
12 | "node": "18.15.0", | 12 | "node": "18.15.0", |
13 | "pnpm": "8.6.2" | 13 | "pnpm": "8.6.2" |
14 | }, | 14 | }, |
15 | "engine-strict": true, | ||
15 | "scripts": { | 16 | "scripts": { |
16 | "preinstall": "npx only-allow pnpm", | 17 | "preinstall": "npx only-allow pnpm", |
17 | "prepare": "is-ci || husky install", | 18 | "prepare": "is-ci || husky install", |
@@ -19,7 +20,7 @@ | |||
19 | "create": "node scripts/create.js", | 20 | "create": "node scripts/create.js", |
20 | "lint": "eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", | 21 | "lint": "eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"", |
21 | "lint:fix": "pnpm lint --fix", | 22 | "lint:fix": "pnpm lint --fix", |
22 | "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,json,scss}\"", | 23 | "reformat-files": "prettier --ignore-path .eslintignore --write \"**/*.{js,json,scss}\"", |
23 | "contributors": "all-contributors" | 24 | "contributors": "all-contributors" |
24 | }, | 25 | }, |
25 | "repository": { | 26 | "repository": { |