|
|
@@ -19,11 +19,8 @@ module.exports = {
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
'vue/multi-word-component-names': 0,
|
|
|
- },
|
|
|
- globals: {
|
|
|
- Proto: 'readonly',
|
|
|
- Model: 'readonly',
|
|
|
- App: 'readonly',
|
|
|
- Store: 'readonly'
|
|
|
+ // https://segmentfault.com/q/1010000040251236
|
|
|
+ // https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
|
|
|
+ 'no-undef': 'off',
|
|
|
}
|
|
|
}
|