Skip to content

Commit 3f38aa1

Browse files
authored
fix: clean unused eslint disables (#837)
1 parent 3181d68 commit 3f38aa1

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

cypress/e2e/2-advanced-examples/connectors.cy.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ context('Connectors', () => {
99
// https://on.cypress.io/each
1010
cy.get('.connectors-each-ul>li')
1111
.each(($el, index, $list) => {
12-
// eslint-disable-next-line no-console
1312
console.log($el, index, $list)
1413
})
1514
})

cypress/e2e/2-advanced-examples/cypress_api.cy.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ context('Cypress APIs', () => {
2020
method = method || 'log'
2121

2222
// log the subject to the console
23-
// eslint-disable-next-line no-console
2423
console[method]('The subject is', subject)
2524

2625
// whatever we return becomes the new subject

cypress/e2e/2-advanced-examples/navigation.cy.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ context('Navigation', () => {
3939
// https://on.cypress.io/visit
4040

4141
// Visit any sub-domain of your current domain
42-
43-
/* eslint-disable no-unused-vars */
4442
// Pass options to the visit
4543
cy.visit('http://localhost:8080/commands/navigation', {
4644
timeout: 50000, // increase total time for the visit to resolve
@@ -53,6 +51,5 @@ context('Navigation', () => {
5351
expect(typeof contentWindow === 'object').to.be.true
5452
},
5553
})
56-
/* eslint-enable no-unused-vars */
5754
})
5855
})

cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ context('Spies, Stubs, and Clock', () => {
2525
* @param x {any}
2626
*/
2727
foo (x) {
28-
/* eslint-disable-next-line no-console */
2928
console.log('obj.foo called with', x)
3029
},
3130
}
@@ -54,7 +53,6 @@ context('Spies, Stubs, and Clock', () => {
5453
* @param b {string}
5554
*/
5655
foo (a, b) {
57-
// eslint-disable-next-line no-console
5856
console.log('a', a, 'b', b)
5957
},
6058
}

0 commit comments

Comments
 (0)