Fixing the code splitting links in the ESLint output (#5586)

This commit is contained in:
Jeroen Heijmans
2018-10-26 20:58:14 +02:00
committed by Joe Haddad
parent 952e7b13c4
commit 8abf892e4b

View File

@@ -167,13 +167,13 @@ module.exports = {
object: 'require',
property: 'ensure',
message:
'Please use import() instead. More info: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#code-splitting',
'Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting',
},
{
object: 'System',
property: 'import',
message:
'Please use import() instead. More info: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#code-splitting',
'Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting',
},
],
'getter-return': 'warn',