Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Mar 4, 2021
1 parent 240244f commit 1f510d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.js
Expand Up @@ -14,9 +14,7 @@ module.exports = {
ecmaFeatures: {
jsx: true,
},
babelOptions: {
configFile: `./.babelrc.js`,
},
requireConfigFile: false,
},
env: {
browser: true,
Expand Down
4 changes: 2 additions & 2 deletions .babelrc.js → babel.config.js
@@ -1,4 +1,4 @@
let ignore = [`**/dist`]
const ignore = [`**/dist`]

// Jest needs to compile this code, but generally we don't want this copied
// to output folders
Expand All @@ -8,6 +8,6 @@ let ignore = [`**/dist`]

module.exports = {
sourceMaps: true,
presets: ["babel-preset-gatsby-package"],
presets: [`babel-preset-gatsby-package`],
ignore,
}

0 comments on commit 1f510d2

Please sign in to comment.