Open esetnik opened 4 years ago
Currently the gatsby starter doesn't support showing linter errors in vscode out of the box. It'd be nice to add a .eslintrc to the project following these instructions https://www.gatsbyjs.org/docs/eslint/#how-to-use-eslint and by adding plugins https://www.gatsbyjs.org/packages/gatsby-plugin-eslint/
.eslintrc
This issue is also reported in a few places: https://github.com/gatsbyjs/gatsby/issues/15959 https://github.com/gatsbyjs/gatsby/issues/15971
For what it's worth I'm happy to use the react-app linter rules.
react-app
module.exports = { globals: { __PATH_PREFIX__: true, }, extends: `react-app`, }
Currently the gatsby starter doesn't support showing linter errors in vscode out of the box. It'd be nice to add a
.eslintrc
to the project following these instructions https://www.gatsbyjs.org/docs/eslint/#how-to-use-eslint and by adding plugins https://www.gatsbyjs.org/packages/gatsby-plugin-eslint/This issue is also reported in a few places: https://github.com/gatsbyjs/gatsby/issues/15959 https://github.com/gatsbyjs/gatsby/issues/15971