We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66792dd commit dadf93bCopy full SHA for dadf93b
packages/eslint-config-react-app/index.js
@@ -220,11 +220,13 @@ module.exports = {
220
'valid-typeof': 'warn',
221
'no-restricted-properties': [
222
'error',
223
- {
224
- object: 'require',
225
- property: 'ensure',
226
- message: 'Please use import() instead. More info: https://webpack.js.org/guides/code-splitting-import/#dynamic-import',
227
- },
+ // TODO: reenable once import() is no longer slow.
+ // https://github.com/facebookincubator/create-react-app/issues/2176
+ // {
+ // object: 'require',
+ // property: 'ensure',
228
+ // message: 'Please use import() instead. More info: https://webpack.js.org/guides/code-splitting-import/#dynamic-import',
229
+ // },
230
{
231
object: 'System',
232
property: 'import',
0 commit comments