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

eslint-plugin-internations

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-internations - npm Package Compare versions

Comparing version 3.3.2 to 3.3.3

58

lib/recommended-rules.js

@@ -56,2 +56,21 @@ /* eslint quote-props: [ "error", "always" ] */

// allow Object.assign
"prefer-object-spread": "off",
"no-redeclare": ["error", { "builtinGlobals": false }],
"no-unused-vars": "off",
"operator-linebreak": "off",
"no-else-return": "off",
"lines-between-class-members": "off",
"max-classes-per-file": "off",
"implicit-arrow-linebreak": "off",
"operator-assignment": "off",
// Disallow quotes around object literal property names, except when they are strictly required

@@ -216,2 +235,18 @@ "quote-props": ["error", "as-needed", { "numbers": true }],

// allow props to not be destructured
"react/destructuring-assignment": "off",
// allow prop spreading
"react/jsx-props-no-spreading": "off",
"react/static-property-placement": "off",
"react/no-access-state-in-setstate": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-fragments": "off",
"react/button-has-type": "off",
"react/jsx-wrap-multilines": "off",
"react/jsx-curly-brace-presence": "off",
"react/sort-comp": "off",
"react/state-in-constructor": "off",
//------------------------------------------------------------------------------

@@ -224,2 +259,3 @@ // Import plugin

"import/extensions": "off",
"import/order": "off",

@@ -286,27 +322,5 @@ //------------------------------------------------------------------------------

"jsx-a11y/mouse-events-have-key-events": "off",
"prefer-object-spread": "off",
"operator-linebreak": "off",
"implicit-arrow-linebreak": "off",
"no-redeclare": "off",
"no-unused-vars": "off",
"react/destructuring-assignment": "off",
"react/jsx-curly-newline": "off",
"react/sort-comp": "off",
"react/jsx-props-no-spreading": "off",
"jsx-a11y/control-has-associated-label": "off",
"no-else-return": "off",
"react/state-in-constructor": "off",
"lines-between-class-members": "off",
"react/static-property-placement": "off",
"react/no-access-state-in-setstate": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-fragments": "off",
"react/button-has-type": "off",
"max-classes-per-file": "off",
"jsx-a11y/label-has-associated-control": "off",
"react/jsx-wrap-multilines": "off",
"react/jsx-curly-brace-presence": "off",
"operator-assignment": "off",
"import/order": "off",
},
};
{
"name": "eslint-plugin-internations",
"version": "3.3.2",
"version": "3.3.3",
"description": "Custom ESLint rules and recommended rule configuration for internal InterNations usage",

@@ -5,0 +5,0 @@ "author": "Vitor Balocco <vitorbal@gmail.com>",

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