pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/github/codeql-action/commit/96632630a93f02a6531cafd3eb53cebd8e235094

.css" /> Do some just+pre-commit tweaking · github/codeql-action@9663263 · GitHub
Skip to content

Commit 9663263

Browse files
redsun82Paolo Tranquilli
authored andcommitted
Do some just+pre-commit tweaking
* pre-commit: move the linting check ahead of the compiling one, as a typescript lint can change the compilaed javascript, so you can end up in a situation where the pre-commit check fails twice in a row * just: add linting and make the default to run all
1 parent 97aac9b commit 9663263

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
repos:
22
- repo: local
33
hooks:
4+
- id: lint-ts
5+
name: Lint typescript code
6+
files: \.ts$
7+
language: system
8+
entry: npm run lint -- --fix
49
- id: compile-ts
510
name: Compile typescript
611
files: \.[tj]s$
712
language: system
813
entry: npm run build
914
pass_filenames: false
10-
- id: lint-ts
11-
name: Lint typescript code
12-
files: \.ts$
13-
language: system
14-
entry: npm run lint -- --fix
1515
- id: pr-checks-sync
1616
name: Synchronize PR check workflows
1717
files: ^.github/workflows/__.*\.yml$|^pr-checks

justfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Perform all working copy cleanup operations
2+
all: lint sync
3+
4+
# Lint source typescript
5+
lint:
6+
npm run lint -- --fix
7+
18
# Sync generated files (javascript and PR checks)
29
sync: build update-pr-checks
310

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy