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

eslint-plugin-factorial

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-factorial - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

15

index.js

@@ -53,2 +53,14 @@ /**

const noRenderIf = {
create: function (context) {
return {
CallExpression (node) {
if (node.callee.name !== 'renderIf') return
context.report(node, 'renderIf is deprecated. Use conditional rendering: https://reactjs.org/docs/conditional-rendering.html#inline-if-with-logical--operator')
}
}
}
}
module.exports = {

@@ -58,4 +70,5 @@ rules: {

'no-autobind': noAutobind,
'no-custom-moment': noCustomMoment
'no-custom-moment': noCustomMoment,
'no-render-if': noRenderIf
}
}

2

package.json
{
"name": "eslint-plugin-factorial",
"version": "1.0.3",
"version": "1.0.4",
"main": "index.js"
}
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