Skip to content

Commit

Permalink
eslint. (#305)
Browse files Browse the repository at this point in the history
Co-authored-by: Guillermo Guerrero Ibarra <[email protected]>
  • Loading branch information
ryanfox1985 and guillermogue authored Aug 3, 2021
1 parent abd457f commit 0f9faf7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/linters.yml → .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Linters
name: Eslint
on: [push, pull_request]
jobs:
linters:
name: Run linters
name: Run Eslint
runs-on: ubuntu-latest

steps:
Expand All @@ -18,9 +18,5 @@ jobs:
- name: Install Node.js dependencies
run: npm ci

- name: Run linters
uses: wearerequired/lint-action@v1
with:
eslint: true
prettier: false
stylelint: false
- name: Run eslint
run: npm run eslint
2 changes: 1 addition & 1 deletion .github/workflows/slack-notify.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Slack Notification
on: [push, pull_request]
on: push
jobs:
slackNotification:
name: Slack Notification
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"stylelint": "stylelint \"**/*.css\"",
"prettier": "prettier --check .",
"lint": "eslint .",
"eslint": "eslint .",
"install_hugo": "brew update && brew install hugo"
}
}

0 comments on commit 0f9faf7

Please sign in to comment.