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

eslint-plugin-react-refresh

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-refresh - npm Package Compare versions

Comparing version 0.4.15 to 0.4.16

44

index.js

@@ -23,3 +23,5 @@ "use strict";

__export(src_exports, {
default: () => src_default
configs: () => configs,
default: () => src_default,
rules: () => rules
});

@@ -250,24 +252,26 @@ module.exports = __toCommonJS(src_exports);

// src/index.ts
var plugin = {
rules: {
"only-export-components": onlyExportComponents
}
var rules = {
"only-export-components": onlyExportComponents
};
var src_default = {
rules: plugin.rules,
configs: {
recommended: {
plugins: { "react-refresh": plugin },
rules: { "react-refresh/only-export-components": "error" }
},
vite: {
plugins: { "react-refresh": plugin },
rules: {
"react-refresh/only-export-components": [
"error",
{ allowConstantExport: true }
]
}
var plugin = { rules };
var configs = {
recommended: {
plugins: { "react-refresh": plugin },
rules: { "react-refresh/only-export-components": "error" }
},
vite: {
plugins: { "react-refresh": plugin },
rules: {
"react-refresh/only-export-components": [
"error",
{ allowConstantExport: true }
]
}
}
};
var src_default = { rules, configs };
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
configs,
rules
});
{
"name": "eslint-plugin-react-refresh",
"description": "Validate that your components can safely be updated with Fast Refresh",
"version": "0.4.15",
"version": "0.4.16",
"type": "commonjs",

@@ -6,0 +6,0 @@ "author": "Arnaud Barré (https://github.com/ArnaudBarre)",

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