Skip to content

Commit fa17ea1

Browse files
committed
ci: fix prettier
1 parent 7acf4c4 commit fa17ea1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ jobs:
6262
- name: Install dependencies
6363
run: yarn --immutable
6464
- name: Lint
65-
run: yarn lint.ci
65+
run: yarn lint:ci
6666
- name: Prettify
67-
run: yarn prettify && git diff-index --quiet HEAD
67+
run: yarn prettify:ci
6868

6969
build-and-release:
7070
name: build and release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ This plugin can be configured either:
9999

100100
- via global env configuration,
101101

102-
- directly, on a matcher level - by passing in plugin options as an argument to `matchImage` command,
102+
- directly, on a matcher level - by passing in plugin options as an argument to `matchImage` command.
103103

104104
## Questions
105105

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
"scripts": {
1010
"build": "del-cli dist && microbundle src/{constants,plugins,support}.ts -f cjs,esm",
1111
"lint": "eslint '**/*.ts' --ignore-pattern '**/*.d.ts'",
12-
"lint.fix": "yarn lint --fix",
13-
"lint.ci": "yarn lint --max-warnings 0",
12+
"lint:fix": "yarn lint --fix",
13+
"lint:ci": "yarn lint --max-warnings 0",
1414
"prettify": "prettier --write src",
15+
"prettify:ci": "prettier --check src",
1516
"prepack": "yarn build",
1617
"release": "semantic-release",
1718
"release:ci": "yarn release --yes",

0 commit comments

Comments
 (0)