mongkuen / gatsby-plugin-eslint

Gatsby plugin to add support for ESLint
MIT License
13 stars 14 forks source link

Cannot run "gatsby build" on gatsby version 2 #2

Closed abzeede closed 6 years ago

abzeede commented 6 years ago
Your plugins must export known APIs from their gatsby-node.js.
The following exports aren't APIs. Perhaps you made a typo or
your plugin is outdated?

See https://www.gatsbyjs.org/docs/node-apis/ for the list of Gatsby Node APIs
 — The plugin "gatsby-plugin-eslint@1.0.3" is exporting a variable named "modifyWebpackConfig" which isn't an API. Perhaps you meant to export "onCreateWebpackConfig"?
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c gatsby build

environment:

mongkuen commented 6 years ago

Added some dev scripts, updated the readme, versions, and published to npm.

Sorry about the delay. Thanks for the PR, I really appreciate it!

abzeede commented 6 years ago

Thank you so much :)