Skip to content

Commit

Permalink
Babel updates
Browse files Browse the repository at this point in the history
  • Loading branch information
controversial committed May 13, 2021
1 parent 1ae77a3 commit 7ebe14e
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 385 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["next/babel"],
"plugins": ["inline-react-svg"]
"plugins": ["inline-react-svg", "@babel/plugin-syntax-top-level-await"]
}
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"no-multiple-empty-lines": ["error", { "max": 2, "maxBOF": 0, "maxEOF": 0 }] // Allow up to 2 empty lines in a row
},
// Support modern JS syntax
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
// Recognize relative imports from the 'src' directory
"settings": {
"import/resolver": {
Expand Down
Loading

0 comments on commit 7ebe14e

Please sign in to comment.