chore(eslint): Default to 'shared-node-browser' after all
...because it turns out we have a long tail of JS files that can, and do, rely on universal builtins like `console`. This reverts part of commit efb88bd808fd593413dd6cb6fdc5d9d27b866ba4.
This commit is contained in:
parent
a24e93354f
commit
a9ea6e7c76
1 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,6 @@ const frontendFiles = [
|
|||
'**/page-templates/**',
|
||||
'packages/i18n/**/*.md/*.js',
|
||||
]
|
||||
const isomorphicFiles = ['packages/core/**', 'plugins/**', 'tests/designs/**', 'tests/plugins/**']
|
||||
|
||||
module.exports = {
|
||||
extends: 'eslint:recommended',
|
||||
|
@ -57,7 +56,7 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
{
|
||||
files: isomorphicFiles,
|
||||
files: ['**'],
|
||||
excludedFiles: [].concat(nodeFiles, frontendFiles),
|
||||
env: {
|
||||
'shared-node-browser': true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue