diff options
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml index 549f1771593..f5814639b36 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -105,6 +105,8 @@ overrides: message: 'Avoid using "setData" on VTU wrapper' - selector: MemberExpression[object.type!='ThisExpression'][property.type='Identifier'][property.name='$nextTick'] message: 'Using $nextTick from a component instance is discouraged. Import nextTick directly from the Vue package.' + - selector: Identifier[name='setImmediate'] + message: 'Prefer explicit waitForPromises (or equivalent), or jest.runAllTimers (or equivalent) to vague setImmediate calls.' - files: - 'config/**/*' - 'scripts/**/*' |