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 6f108e5Copy full SHA for 6f108e5
.github/workflows/workflow.yml
@@ -36,8 +36,12 @@ jobs:
36
run: npm ci
37
38
- name: Lint
39
+ if: matrix.os == 'ubuntu-latest'
40
run: npm run lint
41
42
+ - name: Prettier
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