Skip to content

Commit

Permalink
[chore] Disable browser env for non-browser modules
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars authored and bjoerge committed Feb 16, 2018
1 parent 9ebff06 commit 7c98296
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/@sanity/check/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/@sanity/cli/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
Expand Down
9 changes: 9 additions & 0 deletions packages/@sanity/core/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
}
9 changes: 9 additions & 0 deletions packages/@sanity/export/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
}
4 changes: 4 additions & 0 deletions packages/@sanity/import-cli/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/@sanity/import/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/@sanity/server/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
Expand Down
6 changes: 6 additions & 0 deletions packages/@sanity/util/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"env": {
"browser": false,
"node": true
}
}
4 changes: 4 additions & 0 deletions packages/@sanity/webpack-integration/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/@sanity/webpack-loader/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"env": {
"browser": false,
"node": true
},
"rules": {
"import/no-commonjs": "off"
}
Expand Down

0 comments on commit 7c98296

Please sign in to comment.