Skip to content

Commit

Permalink
test: move globals to shared esconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
shibbas committed Oct 27, 2023
1 parent ac5051a commit c509cce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
"bracketSpacing": true
},
"eslintConfig": {
"extends": "eslint-config-shared",
"globals": {
"__ENV": "readonly"
}
"extends": "eslint-config-shared"
}
}
3 changes: 3 additions & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
globals: {
__ENV: 'readonly',
},
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
Expand Down

0 comments on commit c509cce

Please sign in to comment.