eslint-plugin-sort-class-members
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23556
438