Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@funboxteam/eslint-plugin-no-only-tests

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funboxteam/eslint-plugin-no-only-tests - npm Package Compare versions

Comparing version 4.0.1 to 5.0.0

14

lib/rules/no-only.js

@@ -6,5 +6,5 @@ module.exports = {

category: 'Best Practices',
recommended: true
recommended: true,
},
schema: []
schema: [],
},

@@ -18,12 +18,12 @@

if (callee.type === 'MemberExpression') {
if (['describe','it'].includes(callee.object.name) && callee.property.name === 'only') {
if (['describe', 'it'].includes(callee.object.name) && callee.property.name === 'only') {
context.report({
node,
message: `Unexpected ${callee.object.name}.only`
message: `Unexpected ${callee.object.name}.only`,
});
}
}
}
}
}
},
};
},
};
{
"name": "@funboxteam/eslint-plugin-no-only-tests",
"version": "4.0.1",
"version": "5.0.0",
"description": "Disallow the use of describe.only() and it.only()",

@@ -21,8 +21,11 @@ "keywords": [

"scripts": {
"lint": "eslint --cache --ext .js ./",
"prepublishOnly": "if [ -z \"$CI\" ]; then lawyer; fi",
"test": "mocha tests --recursive"
},
"devDependencies": {
"eslint": "5.16.0",
"mocha": "8.4.0"
"@funboxteam/eslint-config": "7.1.0",
"eslint": "7.32.0",
"mocha": "9.2.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc