Skip to content

Commit bc4b7e2

Browse files
committedDec 10, 2020
Swap eslint for prettier
Prettier is closer to rustfmt than eslint, and the eslint action we were using was deprecated, so I've swapped it out. This has the nice bonus of not needing errors to be manually fixed, prettier will automatically do it for us. Closes: #48
1 parent c8801c0 commit bc4b7e2

File tree

4 files changed

+60
-2508
lines changed

4 files changed

+60
-2508
lines changed
 

‎.github/workflows/linter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
# Install your dependencies
2222
- run: npm ci
2323

24-
# Run ESLint
25-
- uses: eslint/github-action@v0
24+
# Check JavaScript code formatting
25+
- run: npm run lint
2626

2727
# Run Stylelint
2828
- uses: actions-hub/stylelint@v1.1.3

0 commit comments

Comments
 (0)
Failed to load comments.