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

eslint-plugin-sort-class-members

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-sort-class-members - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

6

dist/rules/sort-class-members.js

@@ -29,3 +29,3 @@ 'use strict';

return {
var rules = {
ClassDeclaration: function ClassDeclaration(node) {

@@ -119,2 +119,6 @@ var members = getClassMemberInfos(node, context.getSourceCode(), orderedSlots);

};
rules.ClassExpression = rules.ClassDeclaration;
return rules;
}

@@ -121,0 +125,0 @@

2

package.json
{
"name": "eslint-plugin-sort-class-members",
"version": "1.3.1",
"version": "1.4.0",
"description": "ESLint rule for enforcing consistent ES6 class member order.",

@@ -5,0 +5,0 @@ "keywords": [

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