Questions tagged [eslint]

The pluggable linting utility for JavaScript and JSX.

1
vote
0answers
15 views

Setting values inside of several input fields

In my JavaScript code, I have as below. very simply this is a for loop where I go through several dom elements, retrieve some values and set it. And, before doing it, I am also checking. Now, I feel ...
4
votes
2answers
270 views

Asynchronously fetching Bitcoin orders and quotes

I have the following code to get data using async/await ...
1
vote
1answer
153 views

Determine if an HTML tag name is valid

We've developed an ESLint rule to determine if a tag name used inside the Protractor's by.tagName() locator is valid. A Tag Name is considered valid when: ...
2
votes
1answer
120 views

Circular dependency in utility functions

Some Background I've been developing an ESLint plugin to catch Protractor/Jasmine specific code style violations. In Protractor, there are two important notations: ...
1
vote
1answer
253 views

ESLint rule for Jasmine/Protractor

In Protractor, Jasmine expectations are patched to resolve WebDriver promises implicitly. For instance, if you need to assert a count of certain elements, you can use ...