Update devcontainer.json with PayPal Visual studio code Extension #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Setup .npmrc file to publish to npm | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
- name: Install JS Dependencies | |
run: npm install | |
- name: Lint html | |
run: npx htmlhint client | |
- name: Run ESLint | |
run: npx eslint . --ext .js,.jsx,.ts,.tsx |