Is there a way to exclude certain patterns from no-undeferror. I tried 'no-undef': [2, { ignoreBuiltinGlobals: ['app'] }]where appis my global variable defined by webpack.defineplugin. If I disable this rule, there will be no errors.
I also tried pasting app: trueinto a globalssection.eslintrc.js
Or another way to get my variable 'def'without errors
source
share