diff --git a/.eslintrc.js b/.eslintrc.js index c36f040..9459c1c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -14,6 +14,7 @@ module.exports = { }, rules: { 'react/jsx-filename-extension': [1, {extensions: ['.js', '.jsx']}], + 'react/static-property-placement': [2, 'static public field'], 'flowtype/define-flow-type': 1, 'flowtype/no-mixed': 2, 'flowtype/no-primitive-constructor-types': 2, @@ -38,4 +39,8 @@ module.exports = { onlyFilesWithFlowAnnotation: false, }, }, + globals: { + fetch: false, + Headers: false, + }, };