Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4698 from trufflesuite/globalize
Browse files Browse the repository at this point in the history
Internal improvement: Put all BUNDLE globals in main .eslintrc.json
  • Loading branch information
haltman-at authored Feb 7, 2022
2 parents 69815c7 + 6a4a2f8 commit 1988438
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
"es2021": true,
"node": true
},
"globals": {
"BUNDLE_VERSION": "readonly",
"BUNDLE_CHAIN_FILENAME": "readonly",
"BUNDLE_ANALYTICS_FILENAME": "readonly",
"BUNDLE_LIBRARY_FILENAME": "readonly",
"BUNDLE_CONSOLE_CHILD_FILENAME": "readonly"
},
"extends": [
"plugin:react-hooks/recommended"
],
Expand Down
5 changes: 1 addition & 4 deletions packages/core/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"extends": ["../../.eslintrc.package.json"],
"globals": {
"BUNDLE_VERSION": "readonly"
}
"extends": ["../../.eslintrc.package.json"]
}

0 comments on commit 1988438

Please sign in to comment.