Skip to content

fix: package.json to reduce vulnerabilities #577

fix: package.json to reduce vulnerabilities

fix: package.json to reduce vulnerabilities #577

Workflow file for this run

name: Stylesheet Lint
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
linters:
name: stylelint
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12
# Install your linters here
- name: Install StyleLint dependencies
run: |
npm install --save-dev stylelint stylelint-config-standard && echo '{"extends": "stylelint-config-standard"}' >> .stylelintrc.json
- name: Run lint-action
uses: wearerequired/lint-action@v1
with:
stylelint: true
stylelint_dir: src/
stylelint_extensions: css,scss