aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/PULL_REQUEST_TEMPLATE/add_recipe.md2
-rw-r--r--.github/workflows/builds.yml2
-rw-r--r--docs/integration.md2
-rw-r--r--docs/updating.md2
-rw-r--r--package.json4
5 files changed, 6 insertions, 6 deletions
diff --git a/.github/PULL_REQUEST_TEMPLATE/add_recipe.md b/.github/PULL_REQUEST_TEMPLATE/add_recipe.md
index 3756c29..1b2640b 100644
--- a/.github/PULL_REQUEST_TEMPLATE/add_recipe.md
+++ b/.github/PULL_REQUEST_TEMPLATE/add_recipe.md
@@ -22,7 +22,7 @@ Service ID: [What ID does your recipe use?]
22<!-- Please also accept the following checkboxes --> 22<!-- Please also accept the following checkboxes -->
23 23
24- [ ] I am the original creator of this package 24- [ ] I am the original creator of this package
25- [ ] I have run the `pnpm lint && pnpm reformat-files && pnpm package` and verified that there are no validation errors reported for this package 25- [ ] I have run the `pnpm lint:fix && pnpm reformat-files && pnpm package` and verified that there are no validation errors reported for this package
26- [ ] My recipe has been tested to work inside Ferdium 26- [ ] My recipe has been tested to work inside Ferdium
27 27
28<!-- Here you can write anything else you want to tell us. --> 28<!-- Here you can write anything else you want to tell us. -->
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 9a3533e..0fd768e 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -38,6 +38,6 @@ jobs:
38 run: pnpm i 38 run: pnpm i
39 - name: Check code style and formatting 39 - name: Check code style and formatting
40 if: ${{ github.event_name == 'pull_request' }} 40 if: ${{ github.event_name == 'pull_request' }}
41 run: pnpm lint && pnpm reformat-files 41 run: pnpm lint:fix && pnpm reformat-files
42 - name: Package recipes 42 - name: Package recipes
43 run: pnpm package 43 run: pnpm package
diff --git a/docs/integration.md b/docs/integration.md
index fa3949a..1766b9d 100644
--- a/docs/integration.md
+++ b/docs/integration.md
@@ -53,7 +53,7 @@ This command will automatically create the development recipe in the correct fol
53 53
545. (Mandatory) Please run the following step before raising a PR: 545. (Mandatory) Please run the following step before raising a PR:
55```Bash 55```Bash
56pnpm i && pnpm lint && pnpm reformat-files && pnpm package 56pnpm i && pnpm lint:fix && pnpm reformat-files && pnpm package
57``` 57```
58Fix any issues that are reported. 58Fix any issues that are reported.
59 59
diff --git a/docs/updating.md b/docs/updating.md
index aeb2ffe..51505a1 100644
--- a/docs/updating.md
+++ b/docs/updating.md
@@ -31,6 +31,6 @@ Ferdium uses this version to determine if it should update the local copy of the
31 31
32## 5. Running the validation checks 32## 5. Running the validation checks
33 33
34This might be the __most important step__ of this guide. You'll need to run the `pnpm lint && pnpm reformat-files && pnpm package` command to ensure that all validation checks are run. 34This might be the __most important step__ of this guide. You'll need to run the `pnpm lint:fix && pnpm reformat-files && pnpm package` command to ensure that all validation checks are run.
35 35
36## 6. Commit your changes and create a PR to <https://github.com/ferdium/ferdium-recipes> 36## 6. Commit your changes and create a PR to <https://github.com/ferdium/ferdium-recipes>
diff --git a/package.json b/package.json
index f243f82..dce39ce 100644
--- a/package.json
+++ b/package.json
@@ -12,8 +12,8 @@
12 "prepare": "pnpm dlx husky install", 12 "prepare": "pnpm dlx husky install",
13 "package": "node scripts/package.js", 13 "package": "node scripts/package.js",
14 "create": "node scripts/create.js", 14 "create": "node scripts/create.js",
15 "lint": "eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\" --quiet", 15 "lint": "pnpx eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"",
16 "lint:fix": "npm run lint -- --fix", 16 "lint:fix": "pnpx eslint --fix \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"",
17 "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,json,scss}\"", 17 "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,json,scss}\"",
18 "contributors": "all-contributors" 18 "contributors": "all-contributors"
19 }, 19 },