mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-23 07:39:52 -06:00
upgrade eslint-plugin-dev to 5.0.0 (#5382)
* upgrade eslint-plugin-dev to 5.0.0 * more [lint fixes]
This commit is contained in:
@@ -110,7 +110,6 @@ const testPackageStaticAssets = async (options = {}) => {
|
||||
la(!!foundAssets.length, stripIndent`
|
||||
expected assets to be found in ${chalk.green(opts.assetGlob)}
|
||||
`)
|
||||
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
@@ -119,7 +118,6 @@ module.exports = {
|
||||
}
|
||||
|
||||
function includesCount (string, subString) {
|
||||
|
||||
string += ''
|
||||
subString += ''
|
||||
if (subString.length <= 0) return (string.length + 1)
|
||||
@@ -152,5 +150,4 @@ const includesString = (fileStr, options) => {
|
||||
const passed = count >= atLeast
|
||||
|
||||
return [passed, count, atLeast]
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user