Skip to content

Commit

Permalink
Updated linting paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
srm985 committed Apr 3, 2024
1 parent f853b5d commit 747cb74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ jobs:
name: Build
runs-on: ubuntu-latest
needs: [lint-css, lint-js, test]
env:
NODE_ENV: ${{ vars.NODE_ENV }}

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
"build": "gatsby build",
"develop": "cross-env NODE_ENV=development cross-env GATSBY_GRAPHQL_IDE=playground concurrently --raw \"npm:lint --silent\" \"gatsby develop --port 3000\" \"npm:watch --silent\"",
"lint": "concurrently --raw \"npm:lint:js --silent\" \"npm:lint:scss --silent\"",
"lint:fix": "concurrently --raw \"eslint ./*.js src/**/*.js .storybook/*.js --fix\" \"stylelint src/**/*.scss --color --allow-empty-input --fix\"",
"lint:js": "eslint ./*.js src/**/*.js .storybook/*.js --ignore-pattern /src/vendor/*",
"lint:fix": "concurrently --raw \"eslint . --ignore-pattern /public/* --ext .js --fix\" \"stylelint src/**/*.scss --color --allow-empty-input --fix\"",
"lint:js": "eslint . --ignore-pattern /public/* --ext .js",
"lint:scss": "stylelint src/**/*.scss --color --allow-empty-input",
"pre-commit": "cross-env FORCE_COLOR=true concurrently --raw \"npm:test\" \"lint-staged\"",
"pre-push": "node ./scripts/branchCheck.js",
Expand Down

0 comments on commit 747cb74

Please sign in to comment.