Skip to content

[CI] ESLint Checks are failing #39

@M-DEV-1

Description

@M-DEV-1

Current Behavior

/home/runner/work/shape-builder/shape-builder/site/.eslintrc.js
  0:0  error  Parsing error: [BABEL] /home/runner/work/shape-builder/shape-builder/site/.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/shape-builder/shape-builder/site/node_modules/babel-preset-gatsby/index.js")

/home/runner/work/shape-builder/shape-builder/site/gatsby-browser.js
  0:0  error  Parsing error: [BABEL] /home/runner/work/shape-builder/shape-builder/site/gatsby-browser.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/shape-builder/shape-builder/site/node_modules/babel-preset-gatsby/index.js")

/home/runner/work/shape-builder/shape-builder/site/gatsby-config.js
  0:0  error  Parsing error: [BABEL] /home/runner/work/shape-builder/shape-builder/site/gatsby-config.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/shape-builder/shape-builder/site/node_modules/babel-preset-gatsby/index.js")

/home/runner/work/shape-builder/shape-builder/site/gatsby-node.js
  0:0  error  Parsing error: [BABEL] /home/runner/work/shape-builder/shape-builder/site/gatsby-node.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/shape-builder/shape-builder/site/node_modules/babel-preset-gatsby/index.js")

/home/runner/work/shape-builder/shape-builder/site/gatsby-srr.js
  0:0  error  Parsing error: [BABEL] /home/runner/work/shape-builder/shape-builder/site/gatsby-srr.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/shape-builder/shape-builder/site/node_modules/babel-preset-gatsby/index.js")

/home/runner/work/shape-builder/shape-builder/site/src/components/Footer/Footer.styles.js
  0:0  error  Parsing error: [BABEL] /home/runner/work/shape-builder/shape-builder/site/src/components/Footer/Footer.styles.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/shape-builder/shape-builder/site/node_modules/babel-preset-gatsby/index.js")

/home/runner/work/shape-builder/shape-builder/site/src/components/Footer/index.js
  0:0  error  Parsing error: [BABEL] /home/runner/work/shape-builder/shape-builder/site/src/components/Footer/index.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/shape-builder/shape-builder/site/node_modules/babel-preset-gatsby/index.js")

Desired Behavior

ESLint Checks should run successfully, and NODE_ENV=test should not be the reason that they fail.


Contributor Guides and Handbook

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ciContinuous integration | Build and release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions