forkattu lähteestä vergnet/application-amicale
Update eslint rules
Changed rules to fix conflicts with flow
This commit is contained in:
vanhempi
c0777511a6
commit
22eabf28d5
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
Ladataan…
Viittaa uudesa ongelmassa