Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint after gatsby build #475

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Lint after gatsby build #475

merged 1 commit into from
Nov 23, 2023

Conversation

holly-cummins
Copy link
Collaborator

I thought it would be nice to get fast feedback on linting issues, so I put it early in the build, but that gives this error:

0:0 error Parsing error: [BABEL] /home/runner/work/extensions/extensions/.eslintrc.js: `babel-preset-gatsby` has been loaded, which consumes config generated by the Gatsby CLI. Set `NODE_ENV=test` to bypass, or run `gatsby build` first. (While processing: "/home/runner/work/extensions/extensions/node_modules/gatsby/node_modules/babel-preset-gatsby/index.js")

I've moved it later, which should sort out the failure.

I thought it would be nice to get fast feedback on linting issues, so I put it early in the build, but that gives this error:

```
0:0 error Parsing error: [BABEL] /home/runner/work/extensions/extensions/.eslintrc.js: `babel-preset-gatsby` has been loaded, which consumes config generated by the Gatsby CLI. Set `NODE_ENV=test` to bypass, or run `gatsby build` first. (While processing: "/home/runner/work/extensions/extensions/node_modules/gatsby/node_modules/babel-preset-gatsby/index.js")
```

I've moved it later, which should sort out the failure.
Copy link

github-actions bot commented Nov 23, 2023

🙈 The PR is closed and the preview is expired.

@holly-cummins holly-cummins merged commit 89c1c40 into main Nov 23, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant