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

eslint-plugin-ts-exports

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-ts-exports - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

15

dist/rules/unused-exports.js

@@ -39,8 +39,11 @@ "use strict";

file.forEach(({ exportName, location }) => {
const nodeOrLoc = location
? { loc: { line: location.line, column: location.character } }
: { node };
context.report(Object.assign(Object.assign({ messageId: "UnusedExportsMessage" }, nodeOrLoc), { data: {
name: exportName,
} }));
if (location) {
context.report({
messageId: "UnusedExportsMessage",
loc: { line: location.line, column: location.character },
data: {
name: exportName,
},
});
}
});

@@ -47,0 +50,0 @@ });

2

package.json
{
"name": "eslint-plugin-ts-exports",
"version": "1.0.1",
"version": "1.0.2",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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