Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
chore(deps): update dependency @netlify/eslint-config-node to ^3.0.3 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed May 30, 2021
1 parent b6b8ba7 commit 41b7f3b
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 18 deletions.
3 changes: 0 additions & 3 deletions cypress/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@ const runSpecs = async () => {
const server = await getServer()

const errors = []
// eslint-disable-next-line fp/no-loops
for (const version of versions) {
try {
// eslint-disable-next-line no-await-in-loop
await runCypress(version)
} catch (error) {
// eslint-disable-next-line fp/no-mutating-methods
errors.push(errors)
}
}
Expand All @@ -71,7 +69,6 @@ const runSpecs = async () => {
if (errors.length === 0) {
process.exitCode = 0
} else {
// eslint-disable-next-line fp/no-loops
for (const error of errors) {
console.error(error)
}
Expand Down
43 changes: 32 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"@babel/preset-react": "^7.12.10",
"@netlify/eslint-config-node": "^3.0.1",
"@netlify/eslint-config-node": "^3.0.3",
"ava": "^2.4.0",
"babel-loader": "^8.2.2",
"cpy": "^8.1.0",
Expand Down
1 change: 0 additions & 1 deletion site/vanilla/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
frameworks.forEach((framework) => {
const div = document.createElement('div')
div.setAttribute('id', framework.id)
// eslint-disable-next-line fp/no-mutation
div.textContent = JSON.stringify(framework)
body.append(div)
})
Expand Down
2 changes: 0 additions & 2 deletions src/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const getScriptDevCommands = function (scripts, frameworkDevCommand) {
}

const devScripts = Object.keys(scripts).filter((script) => isNpmDevScript(script))
// eslint-disable-next-line fp/no-mutating-methods
return devScripts.sort(scriptsSorter)
}

Expand All @@ -38,7 +37,6 @@ const scriptsSorter = (script1, script2) => {
}

const getPreferredScripts = function (scripts, frameworkDevCommand) {
// eslint-disable-next-line fp/no-mutating-methods
return Object.entries(scripts)
.filter(([, scriptValue]) => scriptValue.includes(frameworkDevCommand))
.map((script) => getEntryKey(script))
Expand Down

0 comments on commit 41b7f3b

Please sign in to comment.