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.2.1 to 1.2.2

8

dist/rules/sort-class-members.js

@@ -441,5 +441,9 @@ 'use strict';

return s.kind === m.kind;
} }, { property: 'accessorPair', value: 20, test: function test(m, s) {
return s.accessorPair && m.matchingAccessor;
} }, {
property: 'accessorPair',
value: 20,
test: function test(m, s) {
return s.accessorPair && m.matchingAccessor || s.accessorPair === false && !m.matchingAccessor;
}
}, {
property: 'propertyType',

@@ -446,0 +450,0 @@ value: 11,

{
"name": "eslint-plugin-sort-class-members",
"version": "1.2.1",
"version": "1.2.2",
"description": "ESLint rule for enforcing consistent ES6 class member order.",

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

@@ -127,3 +127,3 @@ [![build status][travis-image]][travis-url]

## Autmatically fixing sort order
## Automatically fixing sort order
Fixing of sort order related errors can be automated with the help of a codemod — [sort-class-members-codemod](https://github.com/pastelsky/sort-class-members-codemod)

@@ -130,0 +130,0 @@

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