We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3900ef5 commit c768a8fCopy full SHA for c768a8f
.github/workflows/workflow.yml
@@ -38,6 +38,10 @@ jobs:
38
- name: Lint
39
run: npm run lint
40
41
+ - name: Prettier
42
+ if: matrix.os == 'ubuntu-latest'
43
+ run: npm run prettier:check
44
+
45
- name: Cache Dev
46
uses: actions/cache@v1
47
id: cache-dev
package.json
@@ -20,7 +20,7 @@
20
"lint": "eslint . --ext ts --ext js",
21
"test:update": "ava --update-snapshots",
22
"test:watch": "ava --watch",
23
- "prettier:check": "prettier --list-different \"src/**/*.{ts,tsx}\"",
+ "prettier:check": "prettier --check \"src/**/*.{ts,tsx}\"",
24
"prettier:write": "prettier --write \"src/**/*.{ts,tsx}\""
25
},
26
"repository": {
0 commit comments