Allow Node APIs for server add-ons
Reviewed By: antonk52 Differential Revision: D34386916 fbshipit-source-id: b2484dff15b0a1b0d08f8b0b2e17916d037570c8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dcfc84cce6
commit
673bb9135e
@@ -203,6 +203,10 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['plugins/**/*.ts', 'plugins/**/*.tsx'],
|
files: ['plugins/**/*.ts', 'plugins/**/*.tsx'],
|
||||||
|
excludedFiles: [
|
||||||
|
'plugins/**/serverAddOn.ts',
|
||||||
|
'plugins/**/serverAddOn.tsx',
|
||||||
|
],
|
||||||
rules: {
|
rules: {
|
||||||
'no-restricted-imports': [
|
'no-restricted-imports': [
|
||||||
'error',
|
'error',
|
||||||
|
|||||||
Reference in New Issue
Block a user