diff options
author | 2022-07-13 20:41:40 +0200 | |
---|---|---|
committer | 2022-07-13 19:41:40 +0100 | |
commit | 6df50c4a5f933b4bfa0726184c295e7c2a62ae0d (patch) | |
tree | f30fb835ab8f9fc004c39a7b7d557b0bb6110371 /package.json | |
parent | fix: messenger badge counter and hideInstallMessage (diff) | |
download | ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.tar.gz ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.tar.zst ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.zip |
ci: add lint and prettier to the pr checks (#127)
* ci: add lint and prettier to the pr checks
* bad position of function in messenger ⇒ ci fail
* Revert "bad position of function in messenger ⇒ ci fail"
This reverts commit f8ea1aa674f479093c89f3e7dc6b0ce386003285.
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 d4cacd4..f243f82 100644 --- a/package.json +++ b/package.json | |||
@@ -12,7 +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 . --fix --report-unused-disable-directives", | 15 | "lint": "eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\" --quiet", |
16 | "lint:fix": "npm run lint -- --fix", | ||
16 | "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}\"", |
17 | "contributors": "all-contributors" | 18 | "contributors": "all-contributors" |
18 | }, | 19 | }, |