Specify environment in eslint #14860
Labels
domain:linters
This issue touches the "ckeditor/ckeditor5-linters-config" repository.
resolution:expired
This issue was closed due to lack of feedback.
squad:core
Issue to be handled by the Core team.
squad:platform
Issue to be handled by the Platform team.
type:improvement
This issue reports a possible enhancement of an existing feature.
Currently, we do not specify in which environment we are running our code, so eslint does not know which globals we have to access. This forces us to use magic
/* global XXX */
comments in our code whenever we want to use browser-specific globals likewindow
,document
,setTimeout
, etc.This is cumbersome and adds unnecessary bloat to our codebase.
I prepared two pull requests that add proper eslint configuration and remove unnecessary comments: #14806 and https://github.com/cksource/ckeditor5-commercial/pull/5452.
The text was updated successfully, but these errors were encountered: