Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@side/eslint-config-cypress
Advanced tools
An ESLint configuration which enables lint rules for Cypress tests.
An ESLint configuration which enables lint rules for Cypress tests.
Install this package, and ensure you have installed its peer dependencies.
yarn info @side/eslint-config-cypress peerDependencies
yarn add -D @side/eslint-config-cypress
Once all peer dependencies have been added to your project, extend this configuration in your project's .eslintrc.js
.
.eslintrc.js
module.exports = {
overrides: [
{
files: ['**/cypress/**/*.js'],
extends: ['@side/cypress'],
},
],
};
Note: Make sure to extend this as an override so you can specify the exact Cypress test files you want these rules to be run against. Please reference the eslint-config-cypress documentation for more details.
peerDependency
since this lint config can be used at a different level than Cypress is being used. For example in Side repos which contain apps, the lint config is at the top level and Cypress is currently installed at the package level.FAQs
An ESLint configuration which enables lint rules for Cypress tests.
We found that @side/eslint-config-cypress demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.